There's no reason to make "file" 0500 rather than 0555.
This commit is contained in:
parent
8d3f4be2d2
commit
58c7bf23b5
@ -163,7 +163,9 @@ procfs_allocvp(mp, vpp, pid, pfs_type)
|
||||
break;
|
||||
|
||||
case Pfile:
|
||||
pfs->pfs_mode = (VREAD|VEXEC);
|
||||
pfs->pfs_mode = (VREAD|VEXEC) |
|
||||
(VREAD|VEXEC) >> 3 |
|
||||
(VREAD|VEXEC) >> 6;
|
||||
vp->v_type = VLNK;
|
||||
break;
|
||||
|
||||
|
@ -163,7 +163,9 @@ procfs_allocvp(mp, vpp, pid, pfs_type)
|
||||
break;
|
||||
|
||||
case Pfile:
|
||||
pfs->pfs_mode = (VREAD|VEXEC);
|
||||
pfs->pfs_mode = (VREAD|VEXEC) |
|
||||
(VREAD|VEXEC) >> 3 |
|
||||
(VREAD|VEXEC) >> 6;
|
||||
vp->v_type = VLNK;
|
||||
break;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user