Add a comment about an unlocked access to p_ucred that will go away in

the near future.
This commit is contained in:
John Baldwin 2002-02-27 19:10:50 +00:00
parent 7807397242
commit 6bd7ad69a1

View File

@ -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 {