Add a comment about an unlocked access to p_ucred that will go away in
the near future.
This commit is contained in:
parent
7807397242
commit
6bd7ad69a1
@ -462,6 +462,7 @@ ktrops(curp, p, ops, facs, vp)
|
||||
p->p_tracep = vp;
|
||||
}
|
||||
p->p_traceflag |= facs;
|
||||
/* XXX: Not safe */
|
||||
if (curp->p_ucred->cr_uid == 0)
|
||||
p->p_traceflag |= KTRFAC_ROOT;
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user