Lines Matching defs:cred
451 * so rpchead can encode an RPCAUTH_UNIX cred.
1327 * based on the cred's uid and audit session id.
1329 #define kauth_cred_getasid(cred) ((cred)->cr_audit.as_aia_p->ai_asid)
1330 #define kauth_cred_getauid(cred) ((cred)->cr_audit.as_aia_p->ai_auid)
1733 kauth_cred_t cred;
1739 cred = posix_cred_create(&temp_pcred);
1749 current_thread(), cred, 0, cp, &nmrep, &status);
1752 kauth_cred_unref(&cred);
2083 * Set up the user's cred