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

123

/osnet-11/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...]
/osnet-11/usr/src/lib/krb5/plugins/kdb/ldap/libkdb_ldap/
H A Dldap_pwd_policy.h42 krb5_ldap_put_password_policy(krb5_context kcontext, osa_policy_ent_t policy);
45 krb5_ldap_delete_password_policy (krb5_context kcontext, char *policy);
H A Dldap_pwd_policy.c53 * Function to create password policy object.
57 krb5_ldap_create_password_policy(krb5_context context, osa_policy_ent_t policy) argument
71 if (policy == NULL || policy->name == NULL)
77 st = krb5_ldap_name_to_policydn (context, policy->name, &policy_dn);
85 krb5_set_error_message(context, st, gettext("Invalid password policy DN syntax"));
98 (signed) policy->pw_max_life)) != 0)
100 (signed) policy->pw_min_life)) != 0)
102 (signed) policy->pw_min_classes)) != 0)
104 (signed) policy
137 krb5_ldap_put_password_policy(krb5_context context, osa_policy_ent_t policy) argument
239 krb5_ldap_get_password_policy_from_dn(krb5_context context, char *pol_name, char *pol_dn, osa_policy_ent_t *policy, int *cnt) argument
315 krb5_ldap_get_password_policy(krb5_context context, char *name, osa_policy_ent_t *policy, int *cnt) argument
343 krb5_ldap_delete_password_policy(krb5_context context, char *policy) argument
395 char *policy=NULL; local
[all...]
H A Dldap_tkt_policy.c38 /* Ticket policy object management */
41 * create the Ticket policy object in Directory.
44 krb5_ldap_create_policy(krb5_context context, krb5_ldap_policy_params *policy, argument
56 if (policy == NULL || policy->policy == NULL) {
65 if ((st = krb5_ldap_name_to_policydn (context, policy->policy, &policy_dn)) != 0)
69 strval[0] = policy->policy;
118 krb5_ldap_modify_policy(krb5_context context, krb5_ldap_policy_params *policy, int mask) argument
194 krb5_ldap_read_policy(krb5_context context, char *policyname, krb5_ldap_policy_params **policy, unsigned int *omask) argument
343 krb5_ldap_list_policy(krb5_context context, char *containerdn, char ***policy) argument
388 krb5_ldap_free_policy(krb5_context context, krb5_ldap_policy_params *policy) argument
[all...]
H A Dlockout.c72 if (adb.policy != NULL) {
73 osa_policy_ent_t policy = NULL; local
76 code = krb5_ldap_get_password_policy(context, adb.policy,
77 &policy, &count);
79 *pw_max_fail = policy->pw_max_fail;
80 *pw_failcnt_interval = policy->pw_failcnt_interval;
81 *pw_lockout_duration = policy->pw_lockout_duration;
83 krb5_ldap_free_password_policy(context, policy);
93 /* draft-behera-ldap-password-policy-10.txt 7.1 */
166 * integrity error or preauth failure before a policy chec
[all...]
H A Dldap_tkt_policy.h35 /* policy specific mask */
41 /* policy object structure */
44 char *policy; member in struct:_krb5_ldap_policy_params
/osnet-11/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...]
H A Dpthr_attr.c45 SCHED_OTHER, /* policy */
331 * pthread_attr_setschedpolicy: sets the scheduling policy.
334 pthread_attr_setschedpolicy(pthread_attr_t *attr, int policy) argument
339 policy != SCHED_SYS && get_info_by_policy(policy) != NULL) {
340 ap->policy = policy;
347 * pthread_attr_getpolicy: gets the scheduling policy.
351 pthread_attr_getschedpolicy(const pthread_attr_t *attr, int *policy) argument
356 policy !
[all...]
/osnet-11/usr/src/cmd/hal/fdi/
H A DMakefile41 policy/10osvendor/10-laptop-panel-mgmt-policy.fdi \
42 policy/10osvendor/10-power-mgmt-policy.fdi \
43 policy/10osvendor/10-cpufreq.fdi \
44 policy/10osvendor/10-toshiba-buttons.fdi \
45 policy/10osvendor/20-storage-methods.fdi \
46 policy/10osvendor/20-zfs-methods.fdi \
/osnet-11/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...]
/osnet-11/usr/src/lib/krb5/plugins/kdb/db2/
H A Dlockout.c73 if (adb.policy != NULL) {
74 osa_policy_ent_t policy = NULL; local
77 code = krb5_db2_get_policy(context, adb.policy,
78 &policy, &count);
80 *pw_max_fail = policy->pw_max_fail;
81 *pw_failcnt_interval = policy->pw_failcnt_interval;
82 *pw_lockout_duration = policy->pw_lockout_duration;
84 if (policy != NULL)
85 krb5_db2_free_policy(context, policy);
97 /* draft-behera-ldap-password-policy
[all...]
H A Ddb2_exp.c170 osa_policy_ent_t *policy,
172 (kcontext, name, policy, cnt));
174 ( krb5_context kcontext, osa_policy_ent_t policy ),
175 (kcontext, policy));
183 ( krb5_context kcontext, char *policy ),
184 (kcontext, policy));
/osnet-11/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...]
H A Dcertop.c448 * This should probably be a policy setting in the
519 KMF_POLICY_RECORD *policy; local
567 policy = handle->policy;
569 if (ret == KMF_ERR_EXTENSION_NOT_FOUND && policy->ku_bits == 0)
671 KMF_POLICY_RECORD *policy; local
711 policy = handle->policy;
712 if (ret == KMF_ERR_EXTENSION_NOT_FOUND && policy->ku_bits == 0)
841 KMF_POLICY_RECORD *policy; local
1090 KMF_POLICY_RECORD *policy; local
1188 KMF_POLICY_RECORD *policy; local
1479 KMF_POLICY_RECORD *policy; local
1520 KMF_POLICY_RECORD *policy; local
1744 KMF_POLICY_RECORD *policy; local
1972 KMF_POLICY_RECORD *policy; local
2032 KMF_POLICY_RECORD *policy; local
2259 KMF_POLICY_RECORD *policy; local
2410 KMF_POLICY_RECORD *policy; local
2791 KMF_POLICY_RECORD *policy; local
3267 KMF_POLICY_RECORD *policy; local
[all...]
/osnet-11/usr/src/lib/krb5/kadm5/clnt/
H A Dclnt_policy.c40 kadm5_policy_ent_t policy, long mask)
48 if(policy == (kadm5_policy_ent_t) NULL)
53 memcpy(&arg.rec, policy, sizeof(kadm5_policy_ent_rec));
85 kadm5_policy_ent_t policy, long mask)
93 if(policy == (kadm5_policy_ent_t) NULL)
99 memcpy(&arg.rec, policy, sizeof(kadm5_policy_ent_rec));
39 kadm5_create_policy(void *server_handle, kadm5_policy_ent_t policy, long mask) argument
84 kadm5_modify_policy(void *server_handle, kadm5_policy_ent_t policy, long mask) argument
/osnet-11/usr/src/lib/libbsm/common/
H A Dau_usermask.c78 * Global zone flags, or, if the perzone policy is set, the
97 uint32_t policy; local
114 * Enforce the policy that the local zone audit_flags cannot
116 * policy is set.
118 if (auditon(A_GETPOLICY, (caddr_t)&policy,
119 sizeof (policy)) != 0) {
122 if (((policy & AUDIT_PERZONE) == 0) &&
H A Daudit_scf_to_kernel.c94 uint32_t policy; local
96 if (!do_getpolicy_scf(&policy)) {
97 (void) asprintf(err_str, "Unable to get audit policy "
102 if (auditon(A_SETPOLICY, (caddr_t)&policy, 0) != 0) {
103 (void) asprintf(err_str, "Could not update active policy "
108 DPRINT((dbfp, "active policy settings updated\n"));
/osnet-11/usr/src/lib/nsswitch/ldap/common/
H A Dgetexecattr.c88 if (exec->policy != (char *)NULL) {
89 (void) fprintf(stdout, " policy: [%s]\n", exec->policy);
121 char **name, **policy, **type; local
133 policy = __ns_ldap_getAttr(entry, _EXEC_POLICY);
135 if (policy == NULL || policy[0] == NULL)
138 policy_str = policy[0];
295 const char *policy = _priv_exec->policy; local
416 const char *policy = _priv_exec->policy; local
[all...]
/osnet-11/usr/src/lib/nsswitch/nis/common/
H A Dgetexecattr.c62 const char *policy = _priv_exec->policy; local
68 * If we're talking to pre-Solaris9 nis servers, check policy,
69 * as policy was not a searchable column then.
71 if ((check_policy && policy &&
72 (strcmp(policy, exec->policy) != 0)) ||
76 } else if ((policy && exec->policy &&
77 (strcmp(policy, exe
[all...]
/osnet-11/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...]
/osnet-11/usr/src/lib/krb5/kadm5/srv/
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;
244 if((entry == (kadm5_policy_ent_t) NULL) || (entry->policy == NULL))
246 if(strlen(entry->policy)
[all...]
H A Dserver_acl.c305 * -clearpolicy policy is forced clear
306 * -policy pol policy is forced to be "pol"
356 if (!strcmp(tp, "-policy")) {
357 if (!((*rpp)->policy = strdup(ap))) {
392 if ((*rpp)->policy)
393 free((*rpp)->policy);
438 if (recp->policy && strcmp(recp->policy, rp->policy)) {
[all...]
/osnet-11/usr/src/cmd/ldap/ns_ldap/
H A Dldapaddrbac.c251 data.policy = ecol[1].ec_value.ec_value_val;
262 data.name, data.policy, data.type, data.id);
270 data.name, data.policy, data.type, data.id);
275 data.name, data.policy, data.type, data.id);
289 char **policy; local
295 policy = __ns_ldap_getAttr(res->entry, "SolarisKernelSecurityPolicy");
300 policy == NULL || policy[0] == NULL ||
307 (void) fprintf(stdout, "%s", policy[0]);
/osnet-11/usr/src/lib/libbe/common/
H A Dbe_snapshot.c87 char *policy = NULL; local
138 /* Get BE policy to create this snapshot under */
140 BE_ATTR_POLICY, DATA_TYPE_STRING, &policy, NULL) != 0) {
155 if ((ret = _be_create_snapshot(be_name, altpool, &snap_name, policy))
401 * policy - The clean-up policy type. (library wide use only)
410 char *policy)
433 bt.policy = policy;
476 /* If BE policy no
409 _be_create_snapshot(char *be_name, char *altpool, char **snap_name, char *policy) argument
[all...]
/osnet-11/usr/src/lib/krb5/kadm5/
H A Dmisc_free.c38 free(val->policy);
102 free(val->policy);

Completed in 65 milliseconds

123