From bb529be71260abbeb13d2fcaae9114bc8e3a1beb Mon Sep 17 00:00:00 2001 From: Brian Feldman Date: Sat, 22 Apr 2000 04:01:54 +0000 Subject: There's no reason to make "file" 0500 rather than 0555. --- sys/miscfs/procfs/procfs_subr.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'sys/miscfs/procfs') diff --git a/sys/miscfs/procfs/procfs_subr.c b/sys/miscfs/procfs/procfs_subr.c index a7bbfd716075..053a6206b2eb 100644 --- a/sys/miscfs/procfs/procfs_subr.c +++ b/sys/miscfs/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; -- cgit v1.3