Lines Matching defs:who
140 id_t who;
166 /* would also test (uap->who < 0), but id_t is unsigned */
167 if (uap->who > 0x7fffffff)
173 if (uap->who == 0) {
177 p = proc_find(uap->who);
189 if (uap->who == 0) {
192 } else if ((pg = pgfind(uap->who)) == PGRP_NULL) {
207 if (uap->who == 0)
208 uap->who = kauth_cred_getuid(kauth_cred_get());
214 if (kauth_cred_getuid(my_cred) == uap->who &&
229 if (uap->who != 0) {
261 if (kauth_cred_getuid(my_cred) == pun->who) {
310 AUDIT_ARG(owner, uap->who, 0);
313 /* would also test (uap->who < 0), but id_t is unsigned */
314 if (uap->who > 0x7fffffff)
320 if (uap->who == 0)
323 p = proc_find(uap->who);
338 if (uap->who == 0) {
340 } else if ((pg = pgfind(uap->who)) == PGRP_NULL)
357 if (uap->who == 0)
358 uap->who = kauth_cred_getuid(kauth_cred_get());
362 punice.who = uap->who;
376 if (uap->who != 0) {
388 if (uap->who == 0)
391 p = proc_find(uap->who);
1017 switch (uap->who) {