Searched refs:chgp (Results 1 – 1 of 1) sorted by relevance
284 donice(struct lwp *l, struct proc *chgp, int n) in donice() argument288 KASSERT(mutex_owned(chgp->p_lock)); in donice()291 kauth_cred_geteuid(cred) != kauth_cred_geteuid(chgp->p_cred) && in donice()292 kauth_cred_getuid(cred) != kauth_cred_geteuid(chgp->p_cred)) in donice()303 if (kauth_authorize_process(cred, KAUTH_PROCESS_NICE, chgp, in donice()308 sched_nice(chgp, n); in donice()