diff options
author | green <green@FreeBSD.org> | 2000-04-22 04:01:54 +0000 |
---|---|---|
committer | green <green@FreeBSD.org> | 2000-04-22 04:01:54 +0000 |
commit | 365f24a27a5704214747b929b22b3ec6e0e651b4 (patch) | |
tree | 83dbe9e31b7fcec0794060a8d60035dd3531b150 /sys/fs | |
parent | d6606f6ffa25f25dd1b21027e947eda396dae2e8 (diff) | |
download | FreeBSD-src-365f24a27a5704214747b929b22b3ec6e0e651b4.zip FreeBSD-src-365f24a27a5704214747b929b22b3ec6e0e651b4.tar.gz |
There's no reason to make "file" 0500 rather than 0555.
Diffstat (limited to 'sys/fs')
-rw-r--r-- | sys/fs/procfs/procfs_subr.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/fs/procfs/procfs_subr.c b/sys/fs/procfs/procfs_subr.c index a7bbfd7..053a620 100644 --- a/sys/fs/procfs/procfs_subr.c +++ b/sys/fs/procfs/procfs_subr.c @@ -163,7 +163,9 @@ loop: break; case Pfile: - pfs->pfs_mode = (VREAD|VEXEC); + pfs->pfs_mode = (VREAD|VEXEC) | + (VREAD|VEXEC) >> 3 | + (VREAD|VEXEC) >> 6; vp->v_type = VLNK; break; |