mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-08 09:30:41 +00:00
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:
parent
f2e6be5865
commit
57de737e82
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=81108
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue