mac_proc_check_wait
if ((error = mac_proc_check_wait(td->td_ucred, p)))
int mac_proc_check_wait(struct ucred *cred, struct proc *p);