Lines Matching defs:uid
281 * Note that the code allows superuser (uid == 0)
289 uid_t uid = kauth_cred_getuid(req->r_cred);
294 if (cp->gss_clnt_uid == uid) {
303 if (uid == 0) {
348 cp->gss_clnt_uid = uid;
390 uid_t uid = kauth_cred_getuid(req->r_cred);
398 cp->gss_clnt_uid = uid;
1327 * based on the cred's uid and audit session id.
1338 uid_t uid;
1351 uid = kauth_cred_getauid(credp);
1352 if (uid == AU_DEFAUDITID)
1353 uid = kauth_cred_getuid(credp);
1354 kr = mach_gss_lookup(gssd_host_port, uid, asid, &uc_port);
1384 * principals based on the uid of the caller.