Lines Matching refs:who
135 id_t who;
161 /* would also test (uap->who < 0), but id_t is unsigned */
162 if (uap->who > 0x7fffffff)
168 if (uap->who == 0) {
172 p = proc_find(uap->who);
184 if (uap->who == 0) {
187 } else if ((pg = pgfind(uap->who)) == PGRP_NULL) {
202 if (uap->who == 0)
203 uap->who = kauth_cred_getuid(kauth_cred_get());
209 if (kauth_cred_getuid(my_cred) == uap->who &&
224 if (uap->who != 0) {
256 if (kauth_cred_getuid(my_cred) == pun->who) {
305 AUDIT_ARG(owner, uap->who, 0);
308 /* would also test (uap->who < 0), but id_t is unsigned */
309 if (uap->who > 0x7fffffff)
315 if (uap->who == 0)
318 p = proc_find(uap->who);
333 if (uap->who == 0) {
335 } else if ((pg = pgfind(uap->who)) == PGRP_NULL)
352 if (uap->who == 0)
353 uap->who = kauth_cred_getuid(kauth_cred_get());
357 punice.who = uap->who;
368 if (uap->who != 0) {
896 switch (uap->who) {