o Remove redundant securelevel/pid1 check in procfs_rw() -- this
protection is enforced at the invidual method layer using p_candebug(). Obtained from: TrustedBSD Project
This commit is contained in:
parent
796ed2a6d0
commit
3f9e888ebe
@ -255,8 +255,6 @@ procfs_rw(ap)
|
||||
if (p == NULL)
|
||||
return (EINVAL);
|
||||
PROC_UNLOCK(p);
|
||||
if (p->p_pid == 1 && securelevel > 0 && uio->uio_rw == UIO_WRITE)
|
||||
return (EACCES);
|
||||
|
||||
mp_fixme("pfs_lockowner needs a lock");
|
||||
while (pfs->pfs_lockowner) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user