Home
last modified time | relevance | path

Searched refs:policy (Results 1 – 25 of 206) sorted by relevance

123456789

/illumos-gate/usr/src/lib/libc/port/rt/
H A Dsched.c84 int policy; in is_base_class() local
148 switch (policy) { in get_info_by_policy()
184 int policy; in get_info_by_class() local
303 int policy; in setprio() local
315 (policy == SCHED_FIFO || policy == SCHED_RR)) { in setprio()
347 int policy; in getparam() local
396 int policy; in sched_getparam() local
457 int policy; in sched_getscheduler() local
470 policy = in sched_getscheduler()
569 int policy; in update_sched() local
[all …]
/illumos-gate/usr/src/lib/krb5/plugins/kdb/ldap/libkdb_ldap/
H A Dldap_pwd_policy.c68 if (policy == NULL || policy->name == NULL)
144 if (policy == NULL || policy->name == NULL)
224 osa_policy_ent_t *policy, in krb5_ldap_get_password_policy_from_dn() argument
241 *policy = NULL; in krb5_ldap_get_password_policy_from_dn()
247 if (*policy == NULL) { in krb5_ldap_get_password_policy_from_dn()
258 (*policy)->version = 1; in krb5_ldap_get_password_policy_from_dn()
284 if (*policy != NULL) { in krb5_ldap_get_password_policy_from_dn()
286 *policy = NULL; in krb5_ldap_get_password_policy_from_dn()
346 if (policy == NULL)
421 entry->name = policy;
[all …]
H A Dldap_tkt_policy.c57 if (policy == NULL || policy->policy == NULL) {
66 if ((st = krb5_ldap_name_to_policydn (context, policy->policy, &policy_dn)) != 0)
70 strval[0] = policy->policy;
135 if (policy == NULL || policy->policy==NULL) {
264 *policy = lpolicy;
269 *policy = NULL;
404 if (policy == NULL)
407 if (policy->policy)
408 free (policy->policy);
413 free (policy->tl_data);
[all …]
/illumos-gate/usr/src/lib/libc/port/threads/
H A Dpthread.c75 if (policy == ulwp->ul_policy && in _thr_setparam()
76 (policy == SCHED_FIFO || policy == SCHED_RR) && in _thr_setparam()
89 if (policy == SCHED_FIFO || policy == SCHED_RR) in _thr_setparam()
94 ulwp->ul_policy = policy; in _thr_setparam()
124 (ap->policy == SCHED_SYS || in pthread_create()
141 (ap->policy != self->ul_policy || in pthread_create()
243 (*policy == SCHED_FIFO || *policy == SCHED_RR)) { in pthread_getschedparam()
250 if (*policy == SCHED_FIFO || *policy == SCHED_RR) in pthread_getschedparam()
255 ulwp->ul_policy = *policy; in pthread_getschedparam()
268 int policy; in thr_getprio() local
[all …]
H A Dpthr_attr.c342 pthread_attr_setschedpolicy(pthread_attr_t *attr, int policy) in pthread_attr_setschedpolicy() argument
347 policy != SCHED_SYS && get_info_by_policy(policy) != NULL) { in pthread_attr_setschedpolicy()
348 ap->policy = policy; in pthread_attr_setschedpolicy()
359 pthread_attr_getschedpolicy(const pthread_attr_t *attr, int *policy) in pthread_attr_getschedpolicy() argument
364 policy != NULL) { in pthread_attr_getschedpolicy()
365 *policy = ap->policy; in pthread_attr_getschedpolicy()
601 ap->policy = target->ul_policy; in pthread_attr_get_np()
/illumos-gate/usr/src/lib/libkmf/libkmf/common/
H A Dpolicy.c130 KMF_POLICY_RECORD *policy) in parseValidation() argument
428 policy->ignore_date = 1; in parsePolicyElement()
466 policy); in parsePolicyElement()
827 if (policy == NULL) in kmf_free_policy_record()
830 FREE_POLICY_STR(policy->name) in kmf_free_policy_record()
966 free(handle->policy); in kmf_set_policy()
969 handle->policy = newpolicy; in kmf_set_policy()
1209 if (policy->ignore_date) { in addPolicyNode()
1288 if (policy->name == NULL || !strlen(policy->name)) in kmf_verify_policy()
1295 } else if (policy->ta_name != NULL && policy->ta_serial != NULL) { in kmf_verify_policy()
[all …]
H A Dcertop.c567 policy = handle->policy; in kmf_sign_cert()
711 policy = handle->policy; in kmf_sign_data()
898 policy = handle->policy; in kmf_verify_data()
1120 policy = handle->policy; in kmf_encrypt()
1214 policy = handle->policy; in kmf_decrypt()
1481 policy = handle->policy; in check_crl_validity()
1539 policy = handle->policy; in cert_crl_check()
1755 policy = handle->policy; in cert_ocsp_check()
1976 policy = handle->policy; in cert_ku_check()
2035 policy = handle->policy; in cert_eku_check()
[all …]
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dcrypt.c233 if (policy == NULL) { in crypt_gensalt()
381 if (policy == NULL) { in getcryptpolicy()
385 policy->cp_allow = NULL; in getcryptpolicy()
386 policy->cp_deny = NULL; in getcryptpolicy()
429 return (policy); in getcryptpolicy()
707 if (policy == NULL) in free_crypt_policy()
711 bzero(policy->cp_default, strlen(policy->cp_default)); in free_crypt_policy()
717 bzero(policy->cp_allow, strlen(policy->cp_allow)); in free_crypt_policy()
723 bzero(policy->cp_deny, strlen(policy->cp_deny)); in free_crypt_policy()
724 free(policy->cp_deny); in free_crypt_policy()
[all …]
/illumos-gate/usr/src/cmd/fs.d/nfs/svc/
H A Dnfs-server141 policy=`get_policy $NFS_FMRI`
156 generate_rules $FMRI $policy "tcp" $tport $file
181 generate_rules $FMRI $policy "tcp" \
188 generate_rules $FMRI $policy "tcp" \
198 generate_rules $FMRI $policy "udp" \
205 generate_rules $FMRI $policy "udp" \
220 generate_rules $NFS_FMRI $policy "tcp" \
227 generate_rules $NFS_FMRI $policy "tcp" \
237 generate_rules $NFS_FMRI $policy "udp" \
244 generate_rules $NFS_FMRI $policy "udp" \
[all …]
/illumos-gate/usr/src/cmd/krb5/ldap_util/
H A Dkdb5_ldap_policy.c343 char *policy = NULL; local
372 if (policy == NULL)
414 if (policy) {
415 free (policy);
449 char *policy = NULL; local
500 if (policy == NULL)
675 if (policy)
676 free (policy);
707 char *policy = NULL; local
740 if (policy)
[all …]
/illumos-gate/usr/src/cmd/hal/fdi/
H A DMakefile42 policy/10osvendor/10-laptop-panel-mgmt-policy.fdi \
43 policy/10osvendor/10-network-attached.fdi \
44 policy/10osvendor/10-power-mgmt-policy.fdi \
45 policy/10osvendor/10-cpufreq.fdi \
46 policy/10osvendor/10-toshiba-buttons.fdi \
47 policy/10osvendor/20-storage-methods.fdi \
48 policy/10osvendor/20-zfs-methods.fdi \
H A DREADME49 any policy device information files.
65 Contains device information files that describe policy for hardware
71 Subdirs are installed in $(sysconfdir)/hal/policy (e.g. /etc/hal/policy)
73 policy
75 | # -> installs into /usr/share/hal/fdi/policy/10freedesktop
77 | # -> installs into /usr/share/hal/fdi/policy/20thirdparty
79 # -> installs into /etc/hal/fdi/policy
/illumos-gate/usr/src/lib/hal/libhal-storage/common/
H A Dlibhal-storage.h225 LibHalStoragePolicy *policy) LIBHAL_DEPRECATED;
228 LibHalStoragePolicy *policy) LIBHAL_DEPRECATED;
231 LibHalStoragePolicy *policy) LIBHAL_DEPRECATED;
233 LibHalStoragePolicy *policy) LIBHAL_DEPRECATED;
237 LibHalStoragePolicy *policy) LIBHAL_DEPRECATED;
334 LibHalStoragePolicy *policy) LIBHAL_DEPRECATED;
341 LibHalStoragePolicy *policy,
346 LibHalStoragePolicy *policy) LIBHAL_DEPRECATED;
349 LibHalStoragePolicy *policy) LIBHAL_DEPRECATED;
352 LibHalStoragePolicy *policy) LIBHAL_DEPRECATED;
[all …]
/illumos-gate/usr/src/lib/nsswitch/ldap/common/
H A Dgetexecattr.c89 if (exec->policy != (char *)NULL) { in _print_execstr()
135 exec->policy = (char *)NULL; in _exec_ldap_exec2ent()
163 exec->policy = nullstring; in _exec_ldap_exec2ent()
165 exec->policy = buffer; in _exec_ldap_exec2ent()
170 (void) strcpy(exec->policy, in _exec_ldap_exec2ent()
291 if (policy == NULL || policy[0] == NULL) in _nss_ldap_exec2str()
294 policy_str = policy[0]; in _nss_ldap_exec2str()
421 const char *policy = _priv_exec->policy; in get_wild() local
424 if ((policy != NULL && strpbrk(policy, "*()\\") != NULL) || in get_wild()
546 const char *policy = _priv_exec->policy; in getbynam() local
[all …]
/illumos-gate/usr/src/cmd/smbsrv/smbd/
H A Dsvc-smbd38 policy=`get_policy ${FMRI}`
51 generate_rules $FMRI $policy "tcp" $port $file
52 generate_rules $FMRI $policy "tcp" $port $file6 _6
53 generate_rules $FMRI $policy "udp" $port $file
54 generate_rules $FMRI $policy "udp" $port $file6 _6
/illumos-gate/usr/src/cmd/modload/
H A Dupdate_drv.c98 char *policy = NULL; in main() local
155 policy = optarg; in main()
183 !m_flag && !i_flag && priv == NULL && policy == NULL)) { in main()
191 if (m_flag || i_flag || policy != NULL || priv != NULL) { in main()
226 if (policy != NULL && (policy = check_plcy_entry(policy, driver_name, in main()
282 if (policy != NULL) { in main()
284 policy, B_TRUE)) != 0) { in main()
365 if (update_conf && (i_flag || policy != NULL)) { in main()
503 if (policy != NULL) { in main()
505 policy)) != NOERR) { in main()
[all …]
/illumos-gate/usr/src/cmd/krb5/kadmin/cli/
H A Dkadmin.c1600 dprinc.policy ? dprinc.policy : gettext("[none]"));
1788 memset(&policy, 0, sizeof(policy));
1793 policy.policy = argv[argc - 1];
1799 policy.policy);
1814 memset(&policy, 0, sizeof(policy));
1820 policy.policy = argv[argc - 1];
1824 policy.policy);
1889 printf(gettext("Policy: %s\n"), policy.policy);
1904 policy.policy, policy.pw_max_life, policy.pw_min_life,
1905 policy.pw_min_length, policy.pw_min_classes,
[all …]
/illumos-gate/usr/src/lib/nsswitch/nis/common/
H A Dgetexecattr.c63 const char *policy = _priv_exec->policy; in check_match() local
72 if ((check_policy && policy && in check_match()
73 (strcmp(policy, exec->policy) != 0)) || in check_match()
77 } else if ((policy && exec->policy && in check_match()
78 (strcmp(policy, exec->policy) != 0)) || in check_match()
111 execp->policy = _strtok_escape(NULL, sep, &last); in check_match_strbuf()
231 if ((_priv_exec->policy && in _exec_nis_cb()
232 (strstr(inval, _priv_exec->policy) == NULL)) || in _exec_nis_cb()
278 KV_TOKEN_DELIMIT, _priv_exec->policy, KV_TOKEN_DELIMIT, in _exec_nis_lookup()
/illumos-gate/usr/src/lib/krb5/kadm5/srv/
H A Dsvr_policy.c107 if ((entry == (kadm5_policy_ent_t) NULL) || (entry->policy == NULL)) in kadm5_create_policy_internal()
109 if(strlen(entry->policy) == 0) in kadm5_create_policy_internal()
114 pent.name = entry->policy; in kadm5_create_policy_internal()
115 p = entry->policy; in kadm5_create_policy_internal()
225 if((entry == (kadm5_policy_ent_t) NULL) || (entry->policy == NULL)) in kadm5_modify_policy_internal()
227 if(strlen(entry->policy) == 0) in kadm5_modify_policy_internal()
232 if ((ret = krb5_db_get_policy(handle->context, entry->policy, &p, &cnt))) in kadm5_modify_policy_internal()
310 if ((entry->policy = (char *) malloc(strlen(t->name) + 1)) == NULL) { in kadm5_get_policy()
314 strcpy(entry->policy, t->name); in kadm5_get_policy()
326 free(entry->policy); in kadm5_get_policy()
/illumos-gate/usr/src/common/inet/
H A Dinet_hash.c148 inet_pkt_hash(uint_t media, mblk_t *mp, uint8_t policy) in inet_pkt_hash() argument
172 if ((policy & INET_PKT_HASH_L2) != 0) { in inet_pkt_hash()
176 policy &= ~INET_PKT_HASH_L2; in inet_pkt_hash()
179 if (policy == 0) in inet_pkt_hash()
245 if (ip_fragmented || (policy & INET_PKT_HASH_L3) != 0) { in inet_pkt_hash()
251 policy &= ~INET_PKT_HASH_L3; in inet_pkt_hash()
287 if (frag != NULL || (policy & INET_PKT_HASH_L3) != 0) { in inet_pkt_hash()
293 policy &= ~INET_PKT_HASH_L3; in inet_pkt_hash()
307 if (policy == 0) in inet_pkt_hash()
/illumos-gate/usr/src/lib/krb5/kadm5/clnt/
H A Dclnt_policy.c45 kadm5_policy_ent_t policy, long mask) in kadm5_create_policy() argument
53 if(policy == (kadm5_policy_ent_t) NULL) in kadm5_create_policy()
58 memcpy(&arg.rec, policy, sizeof(kadm5_policy_ent_rec)); in kadm5_create_policy()
90 kadm5_policy_ent_t policy, long mask) in kadm5_modify_policy() argument
98 if(policy == (kadm5_policy_ent_t) NULL) in kadm5_modify_policy()
104 memcpy(&arg.rec, policy, sizeof(kadm5_policy_ent_rec)); in kadm5_modify_policy()
/illumos-gate/usr/src/uts/common/io/aggr/
H A Daggr_ctl.c42 uint32_t policy; in aggr_ioc_modify() local
49 policy = 0; in aggr_ioc_modify()
58 policy = modify_arg->lu_policy; in aggr_ioc_modify()
77 return (aggr_grp_modify(modify_arg->lu_linkid, modify_mask, policy, in aggr_ioc_modify()
92 uint32_t policy; in aggr_ioc_create() local
104 policy = create_arg->lc_policy; in aggr_ioc_create()
122 ports, policy, mac_fixed, force, mac_addr, lacp_mode, lacp_timer, in aggr_ioc_create()
147 uchar_t *mac, boolean_t mac_fixed, boolean_t force, uint32_t policy, in aggr_ioc_info_new_grp() argument
161 grp.lg_policy = policy; in aggr_ioc_info_new_grp()
/illumos-gate/usr/src/lib/libbe/common/
H A Dbe_snapshot.c89 char *policy = NULL; in be_create_snapshot() local
125 BE_ATTR_POLICY, DATA_TYPE_STRING, &policy, NULL) != 0) { in be_create_snapshot()
140 if ((ret = _be_create_snapshot(be_name, &snap_name, policy)) in be_create_snapshot()
401 _be_create_snapshot(char *be_name, char **snap_name, char *policy) in _be_create_snapshot() argument
416 bt.policy = policy; in _be_create_snapshot()
452 if (bt.policy == NULL) { in _be_create_snapshot()
453 bt.policy = be_default_policy(); in _be_create_snapshot()
456 if (!valid_be_policy(bt.policy)) { in _be_create_snapshot()
458 "invalid BE policy type (%s)\n"), bt.policy); in _be_create_snapshot()
512 bt.policy) != 0) { in _be_create_snapshot()
[all …]
/illumos-gate/usr/src/cmd/nscd/
H A Dgetexec.c94 EXEC_STR_CMP(ep1->policy, ep2->policy); in execattr_compar()
114 ep->id ? ep->id : "", ep->policy ? ep->policy : "", in execattr_gethash()
127 check_null(ep->id), check_null(ep->policy), in execattr_getlogstr()
/illumos-gate/usr/src/cmd/ldap/ns_ldap/
H A Dldapaddrbac.c252 data.policy = ecol[1].ec_value.ec_value_val; in genent_exec_attr()
263 data.name, data.policy, data.type, data.id); in genent_exec_attr()
271 data.name, data.policy, data.type, data.id); in genent_exec_attr()
276 data.name, data.policy, data.type, data.id); in genent_exec_attr()
290 char **policy; in dump_exec_attr() local
296 policy = __ns_ldap_getAttr(res->entry, "SolarisKernelSecurityPolicy"); in dump_exec_attr()
301 policy == NULL || policy[0] == NULL || in dump_exec_attr()
308 (void) fprintf(stdout, "%s", policy[0]); in dump_exec_attr()

123456789