Searched defs:policy (Results 1 - 25 of 90) sorted by relevance

1234

/illumos-gate/usr/src/cmd/auditset/
H A Dsvc-auditset.c71 uint32_t policy; local
97 /* check the audit policy */
98 if (auditon(A_GETPOLICY, (caddr_t)&policy, 0) == -1) {
99 (void) printf("Could not read audit policy: %s\n",
104 if (!(policy & AUDIT_PERZONE) && (getzoneid() != GLOBAL_ZONEID))
/illumos-gate/usr/src/lib/krb5/plugins/kdb/ldap/libkdb_ldap/
H A Dldap_tkt_policy.h36 /* policy specific mask */
42 /* policy object structure */
45 char *policy; member in struct:_krb5_ldap_policy_params
H A Dprinc_xdr.h41 char *policy; member in struct:_osa_princ_ent_t
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...]
/illumos-gate/usr/src/lib/libbsm/common/
H A Daudit_allocate.c92 uint32_t policy; /* audit policy */ local
109 if (auditon(A_GETPOLICY, (caddr_t)&policy, 0) < 0) {
130 if (policy & AUDIT_GROUP) { /* add optional group token */
H A Daudit_scf.h88 #define ASI_PGROUP_POLICY "policy"
90 char *policy; member in struct:policy_sw
142 * fit in the uint32_t audit policy mask.
/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/libdtrace/common/
H A Ddt_work.c50 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) {
/illumos-gate/usr/src/common/zfs/
H A Dzfs_comutil.c72 nvlist_t *policy; local
89 if (nvpair_value_nvlist(elem, &policy) == 0)
90 zpool_get_rewind_policy(policy, zrpp);
/illumos-gate/usr/src/cmd/smserverd/
H A Dmyaudit.c81 uint32_t policy; local
83 if (auditon(A_GETPOLICY, (caddr_t)&policy, sizeof (policy))) {
86 door_dp->audit_policy = policy;
/illumos-gate/usr/src/cmd/ldap/ns_ldap/
H A Dldapaddrbac.c252 data.policy = ecol[1].ec_value.ec_value_val;
263 data.name, data.policy, data.type, data.id);
271 data.name, data.policy, data.type, data.id);
276 data.name, data.policy, data.type, data.id);
290 char **policy; local
296 policy = __ns_ldap_getAttr(res->entry, "SolarisKernelSecurityPolicy");
301 policy == NULL || policy[0] == NULL ||
308 (void) fprintf(stdout, "%s", policy[0]);
/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/lib/libbe/common/
H A Dbe_snapshot.c89 char *policy = NULL; local
123 /* Get BE policy to create this snapshot under */
125 BE_ATTR_POLICY, DATA_TYPE_STRING, &policy, NULL) != 0) {
140 if ((ret = _be_create_snapshot(be_name, &snap_name, policy))
393 * policy - The clean-up policy type. (library wide use only)
401 _be_create_snapshot(char *be_name, char **snap_name, char *policy) argument
416 bt.policy = policy;
451 /* If BE policy no
[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/cmd/audit/
H A Daudit.c274 * zone unless the perzone audit policy is set.
285 uint32_t policy; local
287 if (auditon(A_GETPOLICY, (char *)&policy, 0) == -1) {
290 "%s: Cannot read audit policy: %s\n"),
295 if (policy & AUDIT_PERZONE)
/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/lib/krb5/kadm5/
H A Dserver_internal.h71 char *policy; member in struct:_osa_princ_ent_t
84 kadm5_policy_ent_t policy,
H A Dadb.h8 * Data Types for policy and principal information that
67 char *policy; member in struct:_osa_princ_ent_t
/illumos-gate/usr/src/lib/krb5/kadm5/srv/
H A Dserver_acl.h118 char *policy; member in struct:_restriction
/illumos-gate/usr/src/uts/common/io/aggr/
H A Daggr_send.c52 * Update the TX load balancing policy of the specified group.
55 aggr_send_update_policy(aggr_grp_t *grp, uint32_t policy) argument
61 if ((policy & AGGR_POLICY_L2) != 0)
63 if ((policy & AGGR_POLICY_L3) != 0)
65 if ((policy & AGGR_POLICY_L4) != 0)
68 grp->lg_tx_policy = policy;
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/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/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/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/cmd-inet/usr.sbin/
H A Dipaddrsel.c49 * The size of the table we initially use to retrieve the kernel's policy
140 * with the address selection policy table specified in filename.
331 * selection policy table pointed to by new_policy. count should be
349 * Queries the kernel for the current address selection policy using
357 ip6_asp_t policy[KERN_POLICY_SIZE]; local
358 ip6_asp_t *policy_ptr = policy;
383 * policy table, so the minimum acceptable value of
387 "IPv6 address selection policy is empty.\n"), myname);
409 if (policy_ptr != policy)

Completed in 144 milliseconds

1234