There's no reason to make "file" 0500 rather than 0555.

This commit is contained in:
green 2000-04-22 04:01:54 +00:00
parent 8d3f4be2d2
commit 58c7bf23b5
2 changed files with 6 additions and 2 deletions

View File

@ -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;

View File

@ -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;