diff options
Diffstat (limited to 'sys/miscfs/fdesc/fdesc_vnops.c')
-rw-r--r-- | sys/miscfs/fdesc/fdesc_vnops.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/miscfs/fdesc/fdesc_vnops.c b/sys/miscfs/fdesc/fdesc_vnops.c index 0943cec0029..af5ddbd05bf 100644 --- a/sys/miscfs/fdesc/fdesc_vnops.c +++ b/sys/miscfs/fdesc/fdesc_vnops.c @@ -1,4 +1,4 @@ -/* $OpenBSD: fdesc_vnops.c,v 1.6 1996/09/26 11:52:35 deraadt Exp $ */ +/* $OpenBSD: fdesc_vnops.c,v 1.7 1997/08/01 05:58:55 millert Exp $ */ /* $NetBSD: fdesc_vnops.c,v 1.32 1996/04/11 11:24:29 mrg Exp $ */ /* @@ -456,7 +456,7 @@ fdesc_attr(fd, vap, cred, p) * directories can cause loops in the namespace, * so turn off the 'x' bits to avoid trouble. */ - vap->va_mode &= ~((VEXEC)|(VEXEC>>3)|(VEXEC>>6)); + vap->va_mode &= ~(S_IXUSR|S_IXGRP|S_IXOTH); } break; |