/osnet-11/usr/src/lib/libbsm/common/ |
H A D | audit_scf_to_kernel.c | 94 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"));
|
H A D | au_usermask.c | 78 * 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 D | generic.c | 70 static uint32_t aug_policy; /* kernel audit policy */ 379 uint32_t policy; local 381 if (auditon(A_GETPOLICY, (caddr_t)&policy, sizeof (policy))) { 384 aug_policy = policy;
|
/osnet-11/usr/src/lib/krb5/plugins/kdb/ldap/libkdb_ldap/ |
H A D | ldap_tkt_policy.h | 35 /* policy specific mask */ 41 /* policy object structure */ 44 char *policy; member in struct:_krb5_ldap_policy_params
|
H A D | princ_xdr.h | 35 char *policy; member in struct:_osa_princ_ent_t
|
H A D | lockout.c | 72 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 D | ldap_pwd_policy.c | 53 * 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 D | ldap_tkt_policy.c | 38 /* 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...] |
/osnet-11/usr/src/lib/krb5/kadm5/clnt/ |
H A D | clnt_policy.c | 40 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/libdtrace/common/ |
H A D | dt_work.c | 50 dtrace_optval_t policy = dtp->dt_options[DTRACEOPT_BUFPOLICY]; local 64 * If the buffering policy is set to anything other than 68 if (policy != DTRACEOPT_BUFPOLICY_SWITCH && 253 dtrace_optval_t policy = dtp->dt_options[DTRACEOPT_BUFPOLICY]; local 280 policy != DTRACEOPT_BUFPOLICY_SWITCH) {
|
/osnet-11/usr/src/lib/krb5/plugins/kdb/db2/ |
H A D | lockout.c | 73 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...] |
/osnet-11/usr/src/cmd/ldap/ns_ldap/ |
H A D | ldapaddrbac.c | 251 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 D | be_snapshot.c | 87 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...] |
H A D | libbe_priv.h | 42 #define BE_POLICY_PROPERTY "org.opensolaris.libbe:policy" 77 char *policy; /* BE policy type */ member in struct:be_transaction_data
|
/osnet-11/usr/src/lib/krb5/kadm5/ |
H A D | server_internal.h | 73 char *policy; member in struct:_osa_princ_ent_t 86 kadm5_policy_ent_t policy,
|
/osnet-11/usr/src/lib/krb5/kadm5/srv/ |
H A D | server_acl.h | 108 char *policy; member in struct:_restriction
|
/osnet-11/usr/src/lib/libc/port/threads/ |
H A D | pthread.c | 49 _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 D | pthr_attr.c | 45 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/lib/libbe/tbeadm/ |
H A D | tbeadm.c | 101 "\ttbeadm create_snap [-p policy] beName [snapshot]\n" 660 char *policy = NULL; local 667 policy = optarg; 702 if (policy) { 703 if (nvlist_add_string(be_attrs, BE_ATTR_POLICY, policy) != 0) { 705 "BE_ATTR_POLICY (%s).\n", policy);
|
/osnet-11/usr/src/lib/libc/port/rt/ |
H A D | sched.c | 77 * 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/nsswitch/nis/common/ |
H A D | getexecattr.c | 62 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/nsswitch/ldap/common/ |
H A D | getexecattr.c | 88 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/libkmf/include/ |
H A D | kmfapiP.h | 181 KMF_POLICY_RECORD *policy; member in struct:_kmf_handle
|
/osnet-11/usr/src/lib/libkmf/libkmf/common/ |
H A D | client.c | 811 KMF_POLICY_RECORD *policy; local 834 policy = handle->policy; 874 if (policy->VAL_OCSP_BASIC.uri_from_cert == 0) { 875 if (policy->VAL_OCSP_BASIC.responderURI == NULL) { 879 host_uri = policy->VAL_OCSP_BASIC.responderURI; 932 if (policy->VAL_OCSP_BASIC.proxy != NULL) { 935 strtok_r(policy->VAL_OCSP_BASIC.proxy, ":", &last);
|
H A D | policy.c | 126 * 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...] |