Lines Matching defs:my_cred
164 kauth_cred_t my_cred;
213 my_cred = kauth_cred_proc_ref(p);
214 if (kauth_cred_getuid(my_cred) == uap->who &&
217 kauth_cred_unref(&my_cred);
258 kauth_cred_t my_cred;
260 my_cred = kauth_cred_proc_ref(p);
261 if (kauth_cred_getuid(my_cred) == pun->who) {
270 kauth_cred_unref(&my_cred);
433 kauth_cred_t my_cred;
436 my_cred = kauth_cred_proc_ref(chgp);
439 kauth_cred_getuid(ucred) != kauth_cred_getuid(my_cred) &&
440 kauth_cred_getruid(ucred) != kauth_cred_getuid(my_cred)) {
463 kauth_cred_unref(&my_cred);