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

12345678910

/netbsd-6-1-5-RELEASE/external/bsd/bind/dist/contrib/dbus/
H A Dnamed-dbus-system.conf5 <policy user="named">
9 </policy>
10 <policy user="root">
13 </policy>
14 <policy context="default">
18 </policy>
/netbsd-6-1-5-RELEASE/crypto/dist/ipsec-tools/src/libipsec/
H A Dipsec_get_policylen.c50 ipsec_get_policylen(policy)
51 ipsec_policy_t policy;
53 return policy ? PFKEY_EXTLEN(policy) : -1;
H A Dtest-policy-priority.c1 /* $NetBSD: test-policy-priority.c,v 1.3 2006/09/09 16:22:09 manu Exp $ */
3 /* $KAME: test-policy.c,v 1.16 2003/08/26 03:24:08 itojun Exp $ */
126 char *policy; local
132 policy = ipsec_set_policy(req->str, strlen(req->str));
133 if (policy == NULL) {
142 xpl = (struct sadb_x_policy *)policy;
146 free(policy);
152 /* invert policy */
153 len = ipsec_get_policylen(policy);
154 if ((policy_str = ipsec_dump_policy(policy, NUL
[all...]
H A Dipsec_dump_policy.c74 * policy is sadb_x_policy buffer.
79 ipsec_dump_policy(policy, delimiter)
80 ipsec_policy_t policy;
83 return ipsec_dump_policy1(policy, delimiter, 0);
87 ipsec_dump_policy_withports(policy, delimiter)
88 void *policy;
91 return ipsec_dump_policy1(policy, delimiter, 1);
95 ipsec_dump_policy1(policy, delimiter, withports)
96 void *policy;
100 struct sadb_x_policy *xpl = policy;
[all...]
/netbsd-6-1-5-RELEASE/external/gpl3/gdb/dist/sim/testsuite/sim/cris/c/
H A Dthread2.c15 int policy; local
17 if (pthread_getschedparam (pthread_self (), &policy, &param) != 0
18 || policy != SCHED_OTHER
/netbsd-6-1-5-RELEASE/crypto/external/bsd/openssl/dist/crypto/x509v3/
H A Dv3_pci.c69 if (pci->proxyPolicy->policy && pci->proxyPolicy->policy->data)
71 pci->proxyPolicy->policy->data);
77 ASN1_OCTET_STRING **policy)
111 else if (strcmp(val->name, "policy") == 0)
115 if (!*policy)
117 *policy = ASN1_OCTET_STRING_new();
118 if (!*policy)
138 tmp_data = OPENSSL_realloc((*policy)->data,
139 (*policy)
75 process_pci_value(CONF_VALUE *val, ASN1_OBJECT **language, ASN1_INTEGER **pathlen, ASN1_OCTET_STRING **policy) argument
250 ASN1_OCTET_STRING *policy = NULL; local
[all...]
H A Dpcy_data.c78 /* Create a data based on an existing policy. If 'id' is NULL use the
79 * oid in the policy, otherwise use 'id'. This behaviour covers the two
85 X509_POLICY_DATA *policy_data_new(POLICYINFO *policy, argument
90 if (!policy && !cid)
121 ret->valid_policy = policy->policyid;
122 policy->policyid = NULL;
125 if (policy)
127 ret->qualifier_set = policy->qualifiers;
128 policy->qualifiers = NULL;
H A Dv3_pcia.c44 ASN1_OPT(PROXY_POLICY,policy,ASN1_OCTET_STRING)
/netbsd-6-1-5-RELEASE/crypto/external/cpl/trousers/dist/src/tspi/
H A Dobj_policy.c31 struct tr_policy_obj *policy; local
34 if ((policy = calloc(1, sizeof(struct tr_policy_obj))) == NULL) {
39 policy->type = type;
41 policy->SecretMode = TSS_SECRET_MODE_NONE;
43 policy->SecretMode = TSS_SECRET_MODE_POPUP;
45 /* The policy object will inherit this attribute from the context */
46 if ((result = obj_context_get_hash_mode(tsp_context, &policy->hashMode))) {
47 free(policy);
50 policy->SecretLifetime = TSS_TSPATTRIB_POLICYSECRET_LIFETIME_ALWAYS;
52 policy
66 struct tr_policy_obj *policy = (struct tr_policy_obj *)data; local
105 struct tr_policy_obj *policy; local
122 struct tr_policy_obj *policy; local
160 struct tr_policy_obj *policy; local
189 struct tr_policy_obj *policy; local
243 struct tr_policy_obj *policy; local
263 struct tr_policy_obj *policy; local
308 struct tr_policy_obj *policy; local
365 struct tr_policy_obj *policy; local
404 struct tr_policy_obj *policy; local
446 struct tr_policy_obj *policy; local
539 struct tr_policy_obj *policy; local
607 struct tr_policy_obj *policy; local
624 struct tr_policy_obj *policy; local
676 struct tr_policy_obj *policy; local
693 struct tr_policy_obj *policy; local
715 struct tr_policy_obj *policy; local
741 struct tr_policy_obj *policy; local
783 struct tr_policy_obj *policy; local
804 struct tr_policy_obj *policy; local
840 policy_has_expired(struct tr_policy_obj *policy, TSS_BOOL *answer) argument
879 struct tr_policy_obj *policy; local
908 struct tr_policy_obj *policy; local
1008 struct tr_policy_obj *policy; local
1035 struct tr_policy_obj *policy; local
1056 struct tr_policy_obj *policy; local
1073 struct tr_policy_obj *policy; local
1099 struct tr_policy_obj *policy; local
1133 struct tr_policy_obj *policy; local
1151 struct tr_policy_obj *policy; local
1190 struct tr_policy_obj *policy; local
1214 struct tr_policy_obj *policy; local
1238 struct tr_policy_obj *policy; local
1264 struct tr_policy_obj *policy; local
1288 struct tr_policy_obj *policy; local
1315 struct tr_policy_obj *policy; local
1373 struct tr_policy_obj *policy; local
1410 struct tr_policy_obj *policy; local
1437 struct tr_policy_obj *policy; local
1464 struct tr_policy_obj *policy; local
1491 struct tr_policy_obj *policy; local
1518 struct tr_policy_obj *policy; local
1553 struct tr_policy_obj *policy; local
1591 struct tr_policy_obj *policy; local
1606 obj_policy_clear_delegation(struct tr_policy_obj *policy) argument
1621 struct tr_policy_obj *policy; local
[all...]
/netbsd-6-1-5-RELEASE/lib/libc/sys/
H A Dsched.c64 sched_setscheduler(pid_t pid, int policy, const struct sched_param *param) argument
75 ret = _sched_setparam(pid, P_ALL_LWPS, policy, &sp);
86 int ret, policy; local
88 ret = _sched_getparam(pid, P_ALL_LWPS, &policy, &sp);
92 return policy;
100 sched_get_priority_max(int policy) argument
103 if (policy < SCHED_OTHER || policy > SCHED_RR) {
111 sched_get_priority_min(int policy) argument
114 if (policy < SCHED_OTHE
[all...]
/netbsd-6-1-5-RELEASE/external/bsd/wpa/dist/wpa_supplicant/dbus/
H A Ddbus-wpa_supplicant.conf5 <policy user="root">
16 </policy>
17 <policy context="default">
26 </policy>
/netbsd-6-1-5-RELEASE/usr.sbin/inetd/
H A Dipsec.c56 ipsecsetup(int af, int fd, const char *policy) argument
61 if (!policy || policy == '\0')
64 p0 = p = strdup(policy);
88 ipsecsetup_test(const char *policy) argument
94 if (!policy)
96 p0 = p = strdup(policy);
125 ipsecsetup0(int af, int fd, const char *policy, int commit) argument
147 buf = ipsec_set_policy(policy, (int)strlen(policy));
[all...]
/netbsd-6-1-5-RELEASE/crypto/external/bsd/openssh/dist/
H A Dsandbox-systrace.c114 struct systrace_policy policy; local
137 /* Allocate and assign policy */
138 bzero(&policy, sizeof(policy));
139 policy.strp_op = SYSTR_POLICY_NEW;
140 policy.strp_maxents = SYS_MAXSYSCALL;
141 if (ioctl(box->systrace_fd, STRIOCPOLICY, &policy) == -1)
145 policy.strp_op = SYSTR_POLICY_ASSIGN;
146 policy.strp_pid = box->child_pid;
147 if (ioctl(box->systrace_fd, STRIOCPOLICY, &policy)
[all...]
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/gcc/testsuite/g++.dg/template/
H A Dexplicit-args1.C3 template <class T = int> struct policy { struct
18 template <class> S<policy<> >::type foo();
/netbsd-6-1-5-RELEASE/sys/compat/freebsd/
H A Dfreebsd_sched.c140 int error, policy; local
153 /* We need the current policy in FreeBSD terms. */
154 error = do_sched_getparam(SCARG(uap, pid), 0, &policy, NULL);
157 error = sched_native2freebsd(policy, NULL, &policy, NULL);
161 error = sched_freebsd2native(policy, &lp, &policy, &sp);
165 error = do_sched_setparam(SCARG(uap, pid), 0, policy, &sp);
210 syscallarg(int) policy;
213 int error, policy; local
244 int error, policy; local
[all...]
/netbsd-6-1-5-RELEASE/external/bsd/bind/dist/bin/tests/system/rpz/ns3/
H A Dnamed.conf35 response-policy {
36 zone "bl" max-policy-ttl 100;
38 zone "bl-given" policy given recursive-only yes;
39 zone "bl-passthru" policy passthru;
40 zone "bl-no-op" policy no-op; # obsolete for passthru
41 zone "bl-disabled" policy disabled;
42 zone "bl-nodata" policy nodata recursive-only no;
43 zone "bl-nxdomain" policy nxdomain;
44 zone "bl-cname" policy cname txt-only.tld2.;
45 zone "bl-wildcname" policy cnam
[all...]
/netbsd-6-1-5-RELEASE/usr.sbin/schedctl/
H A Dschedctl.c75 int i, count, ch, policy; local
91 policy = SCHED_NONE;
114 for (policy = 0; class_str[policy] != NULL; policy++) {
115 if (strcasecmp(optarg, class_str[policy]) == 0)
118 if (class_str[policy] == NULL)
119 policy = atoi(optarg);
120 if (policy < SCHED_OTHER || policy > SCHED_R
183 sched_set(pid_t pid, lwpid_t lid, int policy, struct sched_param *sp, cpuset_t *cpuset) argument
209 int error, policy; local
[all...]
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/libobjc/
H A Dthr-posix.c99 int policy; local
103 if (pthread_getschedparam(thread_id, &policy, &params) == 0)
105 if ((priority_max = sched_get_priority_max(policy)) != 0)
108 if ((priority_min = sched_get_priority_min(policy)) != 0)
119 * this should be a pointer to policy but pthread.h is universally
122 if (pthread_setschedparam(thread_id, policy, &params) == 0)
132 int policy; local
135 if (pthread_getschedparam(pthread_self(), &policy, &params) == 0)
/netbsd-6-1-5-RELEASE/gnu/dist/gcc4/libobjc/
H A Dthr-posix.c100 int policy; local
104 if (pthread_getschedparam(thread_id, &policy, &params) == 0)
106 if ((priority_max = sched_get_priority_max(policy)) != 0)
109 if ((priority_min = sched_get_priority_min(policy)) != 0)
120 * this should be a pointer to policy but pthread.h is universally
123 if (pthread_setschedparam(thread_id, policy, &params) == 0)
133 int policy; local
136 if (pthread_getschedparam(pthread_self(), &policy, &params) == 0)
/netbsd-6-1-5-RELEASE/crypto/external/bsd/openssl/dist/crypto/ts/
H A Dts_verify_ctx.c95 ASN1_OBJECT_free(ctx->policy);
112 ASN1_OBJECT *policy; local
127 /* Setting policy. */
128 if ((policy = TS_REQ_get_policy_id(req)) != NULL)
130 if (!(ret->policy = OBJ_dup(policy))) goto err;
/netbsd-6-1-5-RELEASE/sys/kern/
H A Dsys_sched.c72 * priority to the appropriate range according to the policy change.
75 convert_pri(lwp_t *l, int policy, pri_t pri) argument
82 KASSERT(policy != SCHED_OTHER);
86 /* Neither policy, nor priority change */
87 if (l->l_class == policy)
92 KASSERT(policy == SCHED_FIFO || policy == SCHED_RR);
97 if (policy == SCHED_OTHER) {
107 do_sched_setparam(pid_t pid, lwpid_t lid, int policy, argument
121 if (pri == PRI_NONE && policy
222 do_sched_getparam(pid_t pid, lwpid_t lid, int *policy, struct sched_param *params) argument
281 int error, policy; local
610 int policy; local
[all...]
/netbsd-6-1-5-RELEASE/gnu/dist/gcc4/gcc/
H A Dgthr-posix.c179 sched_get_priority_max (int policy ATTRIBUTE_UNUSED)
185 sched_get_priority_min (int policy ATTRIBUTE_UNUSED)
220 int *policy ATTRIBUTE_UNUSED,
228 int policy ATTRIBUTE_UNUSED,
/netbsd-6-1-5-RELEASE/external/bsd/openpam/dist/lib/
H A Dopenpam_load.c127 openpam_clear_chains(pam_chain_t *policy[]) argument
132 openpam_destroy_chain(policy[i]);
133 policy[i] = NULL;
/netbsd-6-1-5-RELEASE/crypto/external/bsd/heimdal/dist/lib/kadm5/
H A Dadmin.h148 char * policy; member in struct:_kadm5_principal_ent_t
162 char *policy; member in struct:_kadm5_policy_ent_t
237 kadm5_policy_ent_t policy, uint32_t mask);
240 kadm5_delete_policy(void *server_handle, char *policy);
245 kadm5_policy_ent_t policy,
249 kadm5_get_policy(void *server_handle, char *policy, kadm5_policy_ent_t ent);
256 kadm5_free_policy_ent(kadm5_policy_ent_t policy);
/netbsd-6-1-5-RELEASE/sys/compat/linux/common/
H A Dlinux_sched.c371 panic("%s: unknown policy %d\n", __func__, native_policy);
381 DPRINTF(("%s: native: policy %d, priority %d\n",
393 DPRINTF(("%s: linux: policy %d, priority %d\n",
407 int error, policy; local
420 /* We need the current policy in Linux terms. */
421 error = do_sched_getparam(0, SCARG(uap, pid), &policy, NULL);
424 error = sched_native2linux(policy, NULL, &policy, NULL);
428 error = sched_linux2native(policy, &lp, &policy,
449 int error, policy; local
484 int error, policy; local
519 int error, policy; local
[all...]

Completed in 311 milliseconds

12345678910