Lines Matching defs:uc
168 kauth_cred_t uc;
285 * Can process p, with ucred uc, send the signal signum to process q?
286 * uc is refcounted by the caller so internal fileds can be used safely
290 cansignal(proc_t p, kauth_cred_t uc, proc_t q, int signum, int zombie)
307 if (!suser(uc, NULL))
336 if (kauth_cred_getruid(uc) == kauth_cred_getruid(my_cred) ||
337 kauth_cred_getruid(uc) == kauth_cred_getsvuid(my_cred) ||
338 kauth_cred_getuid(uc) == kauth_cred_getruid(my_cred) ||
339 kauth_cred_getuid(uc) == kauth_cred_getsvuid(my_cred)) {
1387 kauth_cred_t uc = kauth_cred_get();
1408 if (!cansignal(cp, uc, p, uap->signum, 0)) {
1461 kauth_cred_t uc = kargp->uc; /* refcounted by the caller safe to use internal fields */
1473 error = cansignal(cp, uc, p, signum, zombie);
1481 if (cansignal(cp, uc, p, signum, 0) == 0)
1502 kauth_cred_t uc;
1509 uc = kauth_cred_proc_ref(cp);
1518 karg.uc = uc;
1540 karg.uc = uc;
1552 kauth_cred_unref(&uc);