Searched refs:policy (Results 1 - 25 of 424) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/lib/libc/port/rt/
H A Dsched.c77 * Don't let a manufactured policy number duplicate
78 * the class of one of our base policy numbers.
84 int policy; local
86 for (policy = 0, pccp = sched_class;
87 policy < _SCHED_NEXT;
88 policy++, pccp++) {
96 * Cache priocntl information on scheduling class by policy.
99 get_info_by_policy(int policy) argument
101 pcclass_t *pccp = &sched_class[policy];
106 if ((uint_t)policy >
184 int policy; local
248 set_priority(idtype_t idtype, id_t id, int policy, int prio, pcparms_t *pcparmp, int settq) argument
303 int policy; local
347 int policy; local
396 int policy; local
416 setparam(idtype_t idtype, id_t id, int policy, int prio) argument
435 sched_setscheduler(pid_t pid, int policy, const struct sched_param *param) argument
457 int policy; local
486 sched_get_priority_max(int policy) argument
497 sched_get_priority_min(int policy) argument
569 int policy; local
[all...]
/illumos-gate/usr/src/lib/krb5/plugins/kdb/ldap/libkdb_ldap/
H A Dldap_pwd_policy.h43 krb5_ldap_put_password_policy ( krb5_context kcontext, osa_policy_ent_t policy );
46 krb5_ldap_delete_password_policy ( krb5_context kcontext, char *policy );
H A Dldap_pwd_policy.c48 * Function to create password policy object.
52 krb5_ldap_create_password_policy (context, policy)
54 osa_policy_ent_t policy;
68 if (policy == NULL || policy->name == NULL)
74 st = krb5_ldap_name_to_policydn (context, policy->name, &policy_dn);
82 krb5_set_error_message(context, st, gettext("Invalid password policy DN syntax"));
95 (signed) policy->pw_max_life)) != 0)
97 (signed) policy->pw_min_life)) != 0)
99 (signed) policy
221 krb5_ldap_get_password_policy_from_dn(krb5_context context, char *pol_name, char *pol_dn, osa_policy_ent_t *policy, int *cnt) argument
386 char *policy=NULL; local
[all...]
H A Dldap_tkt_policy.c37 /* Ticket policy object management */
40 * create the Ticket policy object in Directory.
43 krb5_ldap_create_policy(context, policy, mask)
45 krb5_ldap_policy_params *policy;
57 if (policy == NULL || policy->policy == NULL) {
66 if ((st = krb5_ldap_name_to_policydn (context, policy->policy, &policy_dn)) != 0)
70 strval[0] = policy
[all...]
H A Dldap_tkt_policy.h36 /* policy specific mask */
42 /* policy object structure */
45 char *policy; member in struct:_krb5_ldap_policy_params
/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 \
/illumos-gate/usr/src/lib/libc/port/threads/
H A Dpthread.c49 _thr_setparam(pthread_t tid, int policy, int prio) argument
58 if (policy == ulwp->ul_policy &&
59 (policy == SCHED_FIFO || policy == SCHED_RR) &&
69 } else if ((cid = setparam(P_LWPID, tid, policy, prio)) == -1) {
72 if (policy == SCHED_FIFO || policy == SCHED_RR)
77 ulwp->ul_policy = policy;
107 (ap->policy == SCHED_SYS ||
108 (pccp = get_info_by_policy(ap->policy))
195 pthread_getschedparam(pthread_t tid, int *policy, struct sched_param *param) argument
233 int policy; local
245 pthread_setschedparam(pthread_t tid, int policy, const struct sched_param *param) argument
256 int policy; local
[all...]
/illumos-gate/usr/src/cmd/smbsrv/smbd/
H A Dsvc-smbd36 policy=`get_policy ${FMRI}`
40 # Enforce policy on each port
48 generate_rules $FMRI $policy "tcp" $ip $port $file
49 generate_rules $FMRI $policy "udp" $ip $port $file
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dcrypt.c60 #define POLICY_CONF_FILE "/etc/security/policy.conf"
111 static void free_crypt_policy(struct crypt_policy_s *policy);
116 const struct crypt_policy_s *policy);
207 * Other wise check the policy in policy.conf to ensure that it is
220 struct crypt_policy_s *policy = NULL; local
232 policy = getcryptpolicy();
233 if (policy == NULL) {
239 if (!alg_valid(algname, policy)) {
241 algname = strdup(policy
374 struct crypt_policy_s *policy; local
437 alg_valid(const char *algname, const struct crypt_policy_s *policy) argument
707 free_crypt_policy(struct crypt_policy_s *policy) argument
[all...]
/illumos-gate/usr/src/lib/krb5/kadm5/srv/
H A Dsvr_misc_free.c46 if(val->policy)
47 free(val->policy);
H A Dsvr_policy.c44 * Purpose: Create Policies in the policy DB.
47 * entry (input) The policy entry to be written out to the DB.
79 * Purpose: Create Policies in the policy DB.
82 * entry (input) The policy entry to be written out to the DB.
107 if ((entry == (kadm5_policy_ent_t) NULL) || (entry->policy == NULL))
109 if(strlen(entry->policy) == 0)
114 pent.name = entry->policy;
115 p = entry->policy;
225 if((entry == (kadm5_policy_ent_t) NULL) || (entry->policy == NULL))
227 if(strlen(entry->policy)
[all...]
/illumos-gate/usr/src/lib/libkmf/libkmf/common/
H A Dpolicy.c126 * Parse the "validation-methods" section of the policy.
130 KMF_POLICY_RECORD *policy)
139 parseOCSPValidation(n, &policy->validation_info);
140 policy->revocation |= KMF_REVOCATION_METHOD_OCSP;
182 policy->revocation |= KMF_REVOCATION_METHOD_CRL;
414 parsePolicyElement(xmlNodePtr node, KMF_POLICY_RECORD *policy) argument
422 policy->name = (char *)xmlGetProp(node,
428 policy->ignore_date = 1;
435 policy->ignore_unknown_ekus = 1;
442 policy
129 parseValidation(xmlNodePtr node, KMF_VALIDATION_POLICY *vinfo, KMF_POLICY_RECORD *policy) argument
630 AddValidationNodes(xmlNodePtr parent, KMF_POLICY_RECORD *policy) argument
825 kmf_free_policy_record(KMF_POLICY_RECORD *policy) argument
1200 addPolicyNode(xmlNodePtr pnode, KMF_POLICY_RECORD *policy) argument
1283 kmf_verify_policy(KMF_POLICY_RECORD *policy) argument
1341 kmf_add_policy_to_db(KMF_POLICY_RECORD *policy, char *dbfilename, boolean_t check_policy) argument
[all...]
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/buffering/
H A Dtst.cputime.ksh65 printf("'%s' buffering policy took %d%% of CPU; ",
80 for policy in "fill ring switch"; do
81 script $policy
/illumos-gate/usr/src/cmd/krb5/ldap_util/
H A Dkdb5_ldap_policy.c39 * Create / Delete / Modify / View / List policy objects.
99 * This function will create a ticket policy object with the
124 /* Allocate memory for policy parameters structure */
272 } else { /* Any other argument must be policy DN */
273 /* First check if policy DN is already provided --
275 if (policyparams->policy != NULL)
278 /* If not present already, fill up policy DN */
279 policyparams->policy = strdup(argv[i]);
280 if (policyparams->policy == NULL) {
282 com_err(me, retval, gettext("while creating policy objec
343 char *policy = NULL; local
449 char *policy = NULL; local
707 char *policy = NULL; local
[all...]
/illumos-gate/usr/src/head/
H A Dexec_attr.h48 #define EXECATTR_COL1_KW "policy"
59 #define EXECATTR_KEYCOL1 1 /* policy */
72 * the currently active policy
103 char *policy; /* suser/rbac/tsol */ member in struct:execstr_s
114 char *policy; /* suser/rbac/tsol */ member in struct:execattr_s
127 const char *policy; member in struct:__private_execattr
/illumos-gate/usr/src/cmd/nscd/
H A Dgetexec.c93 /* compare policy */
94 EXEC_STR_CMP(ep1->policy, ep2->policy);
114 ep->id ? ep->id : "", ep->policy ? ep->policy : "",
125 "%s [name=%s:type=%s:id=%s:policy=%s:flags=%d]",
127 check_null(ep->id), check_null(ep->policy),
/illumos-gate/usr/src/lib/nsswitch/nis/common/
H A Dgetexecattr.c63 const char *policy = _priv_exec->policy; local
69 * If we're talking to pre-Solaris9 nis servers, check policy,
70 * as policy was not a searchable column then.
72 if ((check_policy && policy &&
73 (strcmp(policy, exec->policy) != 0)) ||
77 } else if ((policy && exec->policy &&
78 (strcmp(policy, exe
[all...]
/illumos-gate/usr/src/cmd/modload/
H A Dupdate_drv.c98 char *policy = NULL; local
155 policy = optarg;
183 !m_flag && !i_flag && priv == NULL && policy == NULL)) {
189 * -m 'permission', -p 'policy' or -P 'priv' should be specified
191 if (m_flag || i_flag || policy != NULL || priv != NULL) {
226 if (policy != NULL && (policy = check_plcy_entry(policy, driver_name,
282 if (policy != NULL) {
284 policy, B_TRU
[all...]
/illumos-gate/usr/src/lib/hal/libhal-storage/common/
H A Dlibhal-storage.h135 void libhal_storage_policy_free (LibHalStoragePolicy *policy) LIBHAL_DEPRECATED;
137 void libhal_storage_policy_set_icon_path (LibHalStoragePolicy *policy,
141 void libhal_storage_policy_set_icon_mapping (LibHalStoragePolicy *policy,
143 const char *libhal_storage_policy_lookup_icon (LibHalStoragePolicy *policy,
225 LibHalStoragePolicy *policy) LIBHAL_DEPRECATED;
228 LibHalStoragePolicy *policy) LIBHAL_DEPRECATED;
231 LibHalStoragePolicy *policy) LIBHAL_DEPRECATED;
233 LibHalStoragePolicy *policy) LIBHAL_DEPRECATED;
235 LibHalStoragePolicy *policy) LIBHAL_DEPRECATED;
237 LibHalStoragePolicy *policy) LIBHAL_DEPRECATE
[all...]
/illumos-gate/usr/src/lib/krb5/kadm5/clnt/
H A Dclnt_policy.c45 kadm5_policy_ent_t policy, long mask)
53 if(policy == (kadm5_policy_ent_t) NULL)
58 memcpy(&arg.rec, policy, sizeof(kadm5_policy_ent_rec));
90 kadm5_policy_ent_t policy, long mask)
98 if(policy == (kadm5_policy_ent_t) NULL)
104 memcpy(&arg.rec, policy, sizeof(kadm5_policy_ent_rec));
44 kadm5_create_policy(void *server_handle, kadm5_policy_ent_t policy, long mask) argument
89 kadm5_modify_policy(void *server_handle, kadm5_policy_ent_t policy, long mask) argument
/illumos-gate/usr/src/lib/krb5/kadm5/
H A Dmisc_free.c40 if (val->policy)
41 free(val->policy);
108 if(val->policy)
109 free(val->policy);
/illumos-gate/usr/src/cmd/ssh/etc/
H A Dsshd52 policy=`get_policy ${FMRI}`
62 generate_rules $FMRI $policy "tcp" "any" $port $ipf_file
/illumos-gate/usr/src/uts/common/disp/
H A Dcmt_policy.c48 * Load balancing policy seeks to improve performance by minimizing
56 * The dispatcher will implement CMT policy across lgroups however, if
62 * Return non-zero if, given the policy, we should migrate from running
66 cmt_should_migrate(pg_cmt_t *here, pg_cmt_t *there, pg_cmt_policy_t policy, argument
83 ASSERT((policy & (CMT_BALANCE|CMT_COALESCE)) !=
86 if (policy & CMT_BALANCE) {
99 } else if (policy & CMT_COALESCE) {
194 * target PG given a policy
/illumos-gate/usr/src/uts/common/io/aggr/
H A Daggr_ctl.c32 #include <sys/policy.h>
42 uint32_t policy; local
53 policy = modify_arg->lu_policy;
72 return (aggr_grp_modify(modify_arg->lu_linkid, modify_mask, policy,
87 uint32_t policy; local
99 policy = create_arg->lc_policy;
117 ports, policy, mac_fixed, force, mac_addr, lacp_mode, lacp_timer,
142 uchar_t *mac, boolean_t mac_fixed, boolean_t force, uint32_t policy,
156 grp.lg_policy = policy;
141 aggr_ioc_info_new_grp(void *arg, datalink_id_t linkid, uint32_t key, uchar_t *mac, boolean_t mac_fixed, boolean_t force, uint32_t policy, uint32_t nports, aggr_lacp_mode_t lacp_mode, aggr_lacp_timer_t lacp_timer) argument
/illumos-gate/usr/src/uts/i86pc/sys/
H A Dfipe.h36 /* Device property name for default power management policy. */
61 extern int fipe_set_pmpolicy(fipe_pm_policy_t policy);

Completed in 180 milliseconds

1234567891011>>