aboutsummaryrefslogtreecommitdiff
path: root/sys/miscfs/procfs
diff options
context:
space:
mode:
authorBrian Feldman <green@FreeBSD.org>2000-04-22 04:01:54 +0000
committerBrian Feldman <green@FreeBSD.org>2000-04-22 04:01:54 +0000
commitbb529be71260abbeb13d2fcaae9114bc8e3a1beb (patch)
tree0dc046d67fd1a5d7deb90faa97d5ba799d4d9712 /sys/miscfs/procfs
parent081d7b00c7859484f10516ed10c541adc3c796c1 (diff)
Notes
Diffstat (limited to 'sys/miscfs/procfs')
-rw-r--r--sys/miscfs/procfs/procfs_subr.c4
1 files changed, 3 insertions, 1 deletions
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;