Lines Matching defs:cred
135 extern void kauth_cred_print(kauth_cred_t cred);
450 kauth_cred_t cred;
454 cred = kauth_cred_get_with_ref();
455 pcred = posix_cred_get(cred);
459 kauth_cred_unref(&cred);
463 kauth_cred_unref(&cred);
470 kauth_cred_unref(&cred);
473 kauth_cred_unref(&cred);
760 * Only set the gmuid if the current cred has not opt'ed out;
788 * restart this again with the new cred.
798 /* update cred on proc */
878 * should restart this again with the new cred.
888 /* update cred on proc */
1025 * restart this again with the new cred.
1035 /* update cred on proc */
1129 * should restart this again with the new cred.
1139 /* update cred on proc */
1219 * should restart this again with the new cred.
1229 /* update cred on proc */
1363 * should restart this again with the new cred.
1373 /* update cred on proc */
1632 * is dropped and we get back a different cred with a reference
1669 * with the new cred.
1679 /* update cred on proc */
1804 groupmember(gid_t gid, kauth_cred_t cred)
1808 if (kauth_cred_ismember_gid(cred, gid, &is_member) == 0 && is_member)
1829 suser(kauth_cred_t cred, u_short *acflag)
1832 if (!IS_VALID_CRED(cred))
1835 if (kauth_cred_getuid(cred) == 0) {