Remove read permission for group on the /proc/*/mem file, since kmem

no longer requires access.

Reviewed by:	tmm
Obtained from:	TrustedBSD Project
This commit is contained in:
Robert Watson 2001-08-03 17:15:40 +00:00
parent f2e6be5865
commit 57de737e82
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=81108

View file

@ -172,8 +172,7 @@ procfs_allocvp(mp, vpp, pid, pfs_type)
break;
case Pmem:
pfs->pfs_mode = (VREAD|VWRITE) |
(VREAD) >> 3;;
pfs->pfs_mode = (VREAD|VWRITE);
vp->v_type = VREG;
break;