summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/fs/procfs/procfs_subr.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/fs/procfs/procfs_subr.c b/sys/fs/procfs/procfs_subr.c
index a411546..a07cedc 100644
--- a/sys/fs/procfs/procfs_subr.c
+++ b/sys/fs/procfs/procfs_subr.c
@@ -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) {
OpenPOWER on IntegriCloud