| /freebsd/crypto/krb5/src/lib/krb5/ccache/ |
| H A D | t_marshal.c | 60 const unsigned char cred2[256]; member 271 krb5_creds cred1, cred2, *alloc_cred; in main() local 325 if (k5_unmarshal_cred(t->cred2, t->cred2len, version, &cred2) != 0) in main() 327 verify_cred2(&cred2); in main() 329 k5_marshal_cred(&buf, version, &cred2); in main() 331 assert(memcmp(t->cred2, buf.data, buf.len) == 0); in main() 346 if (krb5_cc_store_cred(context, cache, &cred2) != 0) in main() 366 assert(memcmp(filebuf, t->cred2, t->cred2len) == 0); in main() 371 krb5_free_cred_contents(context, &cred2); in main() 383 if (write(fd, t->cred2, t->cred2len) != (ssize_t)t->cred2len) in main() [all …]
|
| /freebsd/crypto/heimdal/lib/gssapi/ |
| H A D | test_kcred.c | 56 gss_cred_id_t cred1, cred2; in copy_import() local 90 maj_stat = gss_krb5_import_cred(&min_stat, id, NULL, NULL, &cred2); in copy_import() 94 maj_stat = gss_inquire_cred(&min_stat, cred2, &name2, &lifetime2, in copy_import() 118 maj_stat = gss_inquire_cred(&min_stat, cred2, &name2, &lifetime2, in copy_import() 134 gss_release_cred(&min_stat, &cred2); in copy_import()
|
| H A D | test_cred.c | 115 gss_cred_id_t cred, cred2, cred3; in acquire_add_release_add() local 134 &cred2, in acquire_add_release_add() 147 cred2, in acquire_add_release_add() 158 maj_stat = gss_release_cred(&min_stat, &cred2); in acquire_add_release_add()
|
| H A D | test_context.c | 895 gss_cred_id_t cred2 = GSS_C_NO_CREDENTIAL; in main() local 901 loop(actual_mech, nameoid, argv[0], deleg_cred, &sctx, &cctx, &actual_mech2, &cred2); in main() 906 gss_release_cred(&min_stat, &cred2); in main() 912 &actual_mech2, &cred2); in main() 917 gss_release_cred(&min_stat, &cred2); in main() 927 maj_stat = gss_import_cred(&min_stat, &cb, &cred2); in main() 938 loop(actual_mech, nameoid, argv[0], cred2, &sctx, &cctx, in main() 949 loop(GSS_SPNEGO_MECHANISM, nameoid, argv[0], cred2, &sctx, &cctx, in main() 957 gss_release_cred(&min_stat, &cred2); in main()
|
| /freebsd/tools/regression/security/proc_to_proc/ |
| H A D | README | 13 ptrace cred1 attempts ptrace attach to cred2 14 sighup cred1 attempts SIGHUP of cred2 15 sigsegv cred1 attempts SIGSEGV of cred2 16 see cred1 attempts getpriority() on cred2 17 sched cred1 attempts setpriority() on cred2
|
| /freebsd/contrib/wpa/wpa_supplicant/ |
| H A D | interworking.c | 2189 struct wpa_cred *cred, *cred2; in interworking_credentials_available_helper() local 2201 cred2 = interworking_credentials_available_3gpp(wpa_s, bss, ignore_bw, in interworking_credentials_available_helper() 2203 if (cred && cred2 && in interworking_credentials_available_helper() 2204 (cred_prio_cmp(cred2, cred) >= 0 || (!excluded2 && excluded1))) { in interworking_credentials_available_helper() 2205 cred = cred2; in interworking_credentials_available_helper() 2209 cred = cred2; in interworking_credentials_available_helper() 2213 cred2 = interworking_credentials_available_roaming_consortium( in interworking_credentials_available_helper() 2215 if (cred && cred2 && in interworking_credentials_available_helper() 2216 (cred_prio_cmp(cred2, cred) >= 0 || (!excluded2 && excluded1))) { in interworking_credentials_available_helper() 2217 cred = cred2; in interworking_credentials_available_helper() [all …]
|
| /freebsd/crypto/krb5/src/clients/ksu/ |
| H A D | ccache.c | 167 compare_creds(krb5_context context, krb5_creds *cred1, krb5_creds *cred2) in compare_creds() argument 171 retval = krb5_principal_compare (context, cred1->client, cred2->client); in compare_creds() 174 …re (context, cred1->server, cred2->server); in compare_creds()
|
| /freebsd/sys/sys/ |
| H A D | jail.h | 561 int prison_check(struct ucred *cred1, struct ucred *cred2);
|
| /freebsd/sys/kern/ |
| H A D | kern_jail.c | 4127 prison_check(struct ucred *cred1, struct ucred *cred2) in prison_check() argument 4130 return ((cred1->cr_prison == cred2->cr_prison || in prison_check() 4131 prison_ischild(cred1->cr_prison, cred2->cr_prison)) ? 0 : ESRCH); in prison_check()
|