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