Home
last modified time | relevance | path

Searched refs:subject (Results 1 – 25 of 421) sorted by relevance

12345678910>>...17

/freebsd-9-stable/usr.bin/rctl/
Drctl.c101 const char *subject, *textid, *rest; in resolve_ids() local
104 subject = strsep(&rule, ":"); in resolve_ids()
113 if (strcasecmp(subject, "u") == 0) in resolve_ids()
114 subject = "user"; in resolve_ids()
115 else if (strcasecmp(subject, "g") == 0) in resolve_ids()
116 subject = "group"; in resolve_ids()
117 else if (strcasecmp(subject, "p") == 0) in resolve_ids()
118 subject = "process"; in resolve_ids()
119 else if (strcasecmp(subject, "l") == 0 || in resolve_ids()
120 strcasecmp(subject, "c") == 0 || in resolve_ids()
[all …]
/freebsd-9-stable/etc/
Drc.bsdextended73 ${CMD} add subject uid 0 object not uid 0 mode arxws;
74 ${CMD} add subject gid 0 object not gid 0 mode arxws;
83 ${CMD} add subject uid 3 object not uid 3 mode rxws;
84 ${CMD} add subject gid 7 object not gid 7 mode rxws;
93 ${CMD} add subject uid 25 object not uid 25 mode rxws;
94 ${CMD} add subject gid 25 object not gid 25 mode rxws;
98 ${CMD} add subject uid 26 object not uid 26 mode rxws;
99 ${CMD} add subject gid 26 object not gid 26 mode rxws;
113 ${CMD} add subject uid 65534 object not uid 65534 mode rxws;
114 ${CMD} add subject gid 65534 object not gid 65534 mode rxws;
[all …]
/freebsd-9-stable/contrib/gdb/gdb/
Dobserver.c103 generic_observer_attach (struct observer_list **subject, in generic_observer_attach() argument
109 observer_list->next = *subject; in generic_observer_attach()
112 *subject = observer_list; in generic_observer_attach()
121 generic_observer_detach (struct observer_list **subject, in generic_observer_detach() argument
125 struct observer_list *current_node = *subject; in generic_observer_detach()
134 *subject = current_node->next; in generic_observer_detach()
151 generic_observer_notify (struct observer_list *subject, const void *args) in generic_observer_notify() argument
153 struct observer_list *current_node = subject; in generic_observer_notify()
/freebsd-9-stable/tools/regression/mac/mac_bsdextended/
Dtest_matches.sh113 ugidfw set 1 subject uid $uidrange object mode rasx
131 ugidfw set 1 subject gid $gidrange object mode rasx
154 ugidfw set 1 subject jailid $jailid object mode rasx
176 ugidfw set 1 subject object uid $uidrange mode rasx
191 ugidfw set 1 subject object uid $uidrange mode rasx
210 ugidfw set 1 subject object gid $uidrange mode rasx
242 ugidfw set 1 subject uid $uidrange object filesys / mode rasx
250 ugidfw set 1 subject uid $uidrange object filesys $playground mode rasx
261 ugidfw set 1 subject uid $uidrange object suid mode rasx
281 ugidfw set 1 subject uid $uidrange object sgid mode rasx
[all …]
/freebsd-9-stable/crypto/heimdal/lib/hx509/
Dtest_ca.in53 --subject="CN=Love,DC=it,DC=su,DC=se" \
60 --subject="cn=foo" \
108 --subject="cn=foo" \
116 --subject="cn=foo" \
125 --subject="cn=foo" \
134 --subject="cn=foo" \
143 --subject="cn=foo" \
171 --subject="cn=www.test.h5l.se" \
191 --subject="cn=foo" \
200 --subject="" \
[all …]
Dreq.c191 &r.certificationRequestInfo.subject); in _hx509_request_to_pkcs10()
246 hx509_name subject; in _hx509_request_parse() local
289 ret = _hx509_name_from_Name(&rinfo->subject, &subject); in _hx509_request_parse()
295 ret = _hx509_request_set_name(context, *req, subject); in _hx509_request_parse()
296 hx509_name_free(&subject); in _hx509_request_parse()
313 char *subject; in _hx509_request_print() local
314 ret = hx509_name_to_string(req->name, &subject); in _hx509_request_print()
319 fprintf(f, "name: %s\n", subject); in _hx509_request_print()
320 free(subject); in _hx509_request_print()
Dca.c45 hx509_name subject; member
84 (*tbs)->subject = NULL; in hx509_ca_tbs_init()
116 hx509_name_free(&(*tbs)->subject); in hx509_ca_tbs_free()
235 if (tbs->subject) in hx509_ca_tbs_set_template()
236 hx509_name_free(&tbs->subject); in hx509_ca_tbs_set_template()
237 ret = hx509_cert_get_subject(cert, &tbs->subject); in hx509_ca_tbs_set_template()
836 hx509_name subject) in hx509_ca_tbs_set_subject() argument
838 if (tbs->subject) in hx509_ca_tbs_set_subject()
839 hx509_name_free(&tbs->subject); in hx509_ca_tbs_set_subject()
840 return hx509_name_copy(context, subject, &tbs->subject); in hx509_ca_tbs_set_subject()
[all …]
Dtest_windows.in56 --subject="CN=Windows-CA,DC=heimdal,DC=pki" \
66 --subject="CN=kdc.heimdal.pki,dc=heimdal,dc=pki" \
78 --subject="CN=User,DC=heimdal,DC=pki" \
Dtest_req.in52 --subject="CN=Love,DC=it,DC=su,DC=se" \
60 --subject="CN=Love,DC=it,DC=su,DC=se" \
Dcert.c582 find_extension_auth_key_id(const Certificate *subject, in find_extension_auth_key_id() argument
591 e = find_extension(subject, oid_id_x509_ce_authorityKeyIdentifier(), &i); in find_extension_auth_key_id()
620 find_extension_name_constraints(const Certificate *subject, in find_extension_name_constraints() argument
629 e = find_extension(subject, oid_id_x509_ce_nameConstraints(), &i); in find_extension_name_constraints()
807 _hx509_unparse_Name(&cert->tbsCertificate.subject, &name); in check_key_usage()
852 ret = _hx509_unparse_Name(&cert->tbsCertificate.subject, &name); in check_basic_constraints()
889 _hx509_cert_is_parent_cmp(const Certificate *subject, in _hx509_cert_is_parent_cmp() argument
898 diff = _hx509_name_cmp(&issuer->tbsCertificate.subject, in _hx509_cert_is_parent_cmp()
899 &subject->tbsCertificate.issuer); in _hx509_cert_is_parent_cmp()
911 ret_ai = find_extension_auth_key_id(subject, &ai); in _hx509_cert_is_parent_cmp()
[all …]
/freebsd-9-stable/contrib/openbsm/libbsm/
Dbsm_wrappers.c291 audit_write(short event_code, token_t *subject, token_t *misctok, char retval, in audit_write() argument
299 au_free_token(subject); in audit_write()
306 if (subject && au_write(aufd, subject) == -1) { in audit_write()
307 au_free_token(subject); in audit_write()
358 token_t *subject = NULL; in audit_write_success() local
361 subject = au_to_subject32(auid, euid, egid, ruid, rgid, pid, sid, in audit_write_success()
363 if (subject == NULL) { in audit_write_success()
368 return (audit_write(event_code, subject, tok, 0, 0)); in audit_write_success()
378 token_t *subject; in audit_write_success_self() local
381 if ((subject = au_to_me()) == NULL) { in audit_write_success_self()
[all …]
/freebsd-9-stable/crypto/openssl/crypto/x509v3/
Dv3_purp.c690 int X509_check_issued(X509 *issuer, X509 *subject) in X509_check_issued() argument
693 X509_get_issuer_name(subject))) in X509_check_issued()
696 x509v3_cache_extensions(subject); in X509_check_issued()
697 if (subject->akid) { in X509_check_issued()
699 if (subject->akid->keyid && issuer->skid && in X509_check_issued()
700 ASN1_OCTET_STRING_cmp(subject->akid->keyid, issuer->skid)) in X509_check_issued()
703 if (subject->akid->serial && in X509_check_issued()
705 subject->akid->serial)) in X509_check_issued()
708 if (subject->akid->issuer) { in X509_check_issued()
718 gens = subject->akid->issuer; in X509_check_issued()
[all …]
/freebsd-9-stable/usr.bin/mail/
Dmain.c63 char *subject, *replyto; in main() local
89 subject = NULL; in main()
144 subject = optarg; in main()
221 if (to == NULL && (subject != NULL || cc != NULL || bcc != NULL)) in main()
251 mail(to, cc, bcc, smopts, subject, replyto); in main()
/freebsd-9-stable/crypto/openssl/apps/
Dserver.pem2 subject= /C=AU/ST=Queensland/O=CryptSoft Pty Ltd/CN=Server test cert (512 bit)
25 subject=/C=US/O=AT&T Bell Laboratories/OU=Prototype Research CA
44 subject=/C=AU/ST=Queensland/O=CryptSoft Pty Ltd/CN=Test CA (1024 bit)
149 subject=/C=AU/ST=Queensland/O=CryptSoft Pty Ltd/CN=Test PCA (1024 bit)
179 subject=/C=US/O=RSA Data Security, Inc./OU=Commercial Certification Authority
198 subject=/C=US/O=RSA Data Security, Inc./OU=Secure Server Certification Authority
217 subject=/C=ZA/SP=Western Cape/L=Cape Town/O=Thawte Consulting cc
307 subject=/L=Internet/O=VeriSign, Inc./OU=VeriSign Class 2 CA - Individual Subscriber
338 subject=/C=US/O=VeriSign, Inc./OU=Class 3 Public Primary Certification Authority
354 subject=/C=US/O=VeriSign, Inc./OU=Class 4 Public Primary Certification Authority
Dserver2.pem2 subject=/C=AU/ST=Queensland/O=CryptSoft Pty Ltd/CN=Server test cert (1024 bit)
32 subject=/C=US/O=AT&T Bell Laboratories/OU=Prototype Research CA
51 subject=/C=AU/ST=Queensland/O=CryptSoft Pty Ltd/CN=Test CA (1024 bit)
156 subject=/C=AU/ST=Queensland/O=CryptSoft Pty Ltd/CN=Test PCA (1024 bit)
186 subject=/C=US/O=RSA Data Security, Inc./OU=Commercial Certification Authority
205 subject=/C=US/O=RSA Data Security, Inc./OU=Secure Server Certification Authority
224 subject=/C=ZA/SP=Western Cape/L=Cape Town/O=Thawte Consulting cc
314 subject=/L=Internet/O=VeriSign, Inc./OU=VeriSign Class 2 CA - Individual Subscriber
345 subject=/C=US/O=VeriSign, Inc./OU=Class 3 Public Primary Certification Authority
361 subject=/C=US/O=VeriSign, Inc./OU=Class 4 Public Primary Certification Authority
/freebsd-9-stable/sys/dev/isci/scil/
Dsci_base_state_machine_logger.c83 SCI_BASE_SUBJECT_T *subject in sci_base_state_machine_logger_update() argument
97 sci_base_state_machine_get_state((SCI_BASE_STATE_MACHINE_T *)subject) in sci_base_state_machine_logger_update()
101 &this_observer->parent.parent, subject in sci_base_state_machine_logger_update()
/freebsd-9-stable/contrib/gdb/gdb/doc/
Dobserver.texi10 The entity being observed is called the @dfn{subject}. To receive
11 notifications, the observer attaches a callback to the subject.
12 One subject can have several observers.
20 for contextual data. This contextual data is given to the subject
21 when attaching the callback. In return, the subject will provide
/freebsd-9-stable/sys/security/mac_partition/
Dmac_partition.c80 partition_check(struct label *subject, struct label *object) in partition_check() argument
86 if (subject == NULL) in partition_check()
89 if (SLOT(subject) == 0) in partition_check()
100 if (SLOT(subject) == SLOT(object)) in partition_check()
/freebsd-9-stable/crypto/openssl/crypto/ocsp/
Docsp_lib.c78 OCSP_CERTID *OCSP_cert_to_id(const EVP_MD *dgst, X509 *subject, X509 *issuer) in OCSP_cert_to_id() argument
87 if (subject) { in OCSP_cert_to_id()
88 iname = X509_get_issuer_name(subject); in OCSP_cert_to_id()
89 serial = X509_get_serialNumber(subject); in OCSP_cert_to_id()
/freebsd-9-stable/crypto/heimdal/tests/kdc/
Dcheck-pkinit.in110 --subject="CN=kdc,DC=test,DC=h5l,DC=se" \
114 --subject="CN=bar,DC=test,DC=h5l,DC=se" \
118 --subject="CN=baz,DC=test,DC=h5l,DC=se" \
127 --subject="CN=CA,DC=test,DC=h5l,DC=se" \
/freebsd-9-stable/crypto/openssl/demos/ssltest-ecc/
DRSAcertgen.sh65 $OPENSSL_CMD x509 -in $CERTS_DIR/$TEST_CA_FILE.cert.pem -issuer -subject \
90 $OPENSSL_CMD x509 -in $CERTS_DIR/$TEST_SERVER_FILE.cert.pem -issuer -subject \
115 $OPENSSL_CMD x509 -in $CERTS_DIR/$TEST_CLIENT_FILE.cert.pem -issuer -subject \
DECCcertgen.sh78 $OPENSSL_CMD x509 -in $CERTS_DIR/$TEST_CA_FILE.cert.pem -issuer -subject \
117 $OPENSSL_CMD x509 -in $CERTS_DIR/$TEST_SERVER_FILE.cert.pem -issuer -subject \
156 $OPENSSL_CMD x509 -in $CERTS_DIR/$TEST_CLIENT_FILE.cert.pem -issuer -subject \
/freebsd-9-stable/crypto/openssl/test/
Dtestss101 $x509cmd -subject -issuer -startdate -enddate -noout -in $Ucert
123 $x509cmd -subject -issuer -startdate -enddate -noout -in $P1cert
145 $x509cmd -subject -issuer -startdate -enddate -noout -in $P2cert
/freebsd-9-stable/lib/libugidfw/
Dugidfw.c609 struct mac_bsdextended_subject *subject, size_t buflen, char *errstr) in bsde_parse_subject() argument
705 subject->mbs_flags = flags; in bsde_parse_subject()
707 subject->mbs_neg = MBS_ALL_FLAGS ^ neg; in bsde_parse_subject()
709 subject->mbs_neg = neg; in bsde_parse_subject()
711 subject->mbs_uid_min = uid_min; in bsde_parse_subject()
712 subject->mbs_uid_max = uid_max; in bsde_parse_subject()
715 subject->mbs_gid_min = gid_min; in bsde_parse_subject()
716 subject->mbs_gid_max = gid_max; in bsde_parse_subject()
719 subject->mbs_prison = jid; in bsde_parse_subject()
997 int subject, subject_elements, subject_elements_length; in bsde_parse_rule() local
[all …]
/freebsd-9-stable/crypto/openssl/doc/apps/
Dverify.pod52 form ("hash" is the hashed certificate subject name: see the B<-hash> option
187 subject name matched the issuer of the current certificate was assumed to be
189 whose subject name matches the issuer name of the current certificate are
190 subject to further tests. The relevant authority key identifier components
191 of the current certificate (if present) must match the subject key identifier
231 the subject name of the certificate. The second line contains the error number
365 =item B<29 X509_V_ERR_SUBJECT_ISSUER_MISMATCH: subject issuer mismatch>
367 the current candidate issuer certificate was rejected because its subject name
371 =item B<30 X509_V_ERR_AKID_SKID_MISMATCH: authority and subject key identifier mismatch>
373 the current candidate issuer certificate was rejected because its subject key
[all …]

12345678910>>...17