diff options
author | chris <chris@FreeBSD.org> | 2000-06-20 20:34:11 +0000 |
---|---|---|
committer | chris <chris@FreeBSD.org> | 2000-06-20 20:34:11 +0000 |
commit | 0790e5cf47ed3741eb769f7ab9ef76fdf5a55e02 (patch) | |
tree | ef43a31c449d905de8c7ba29dd905549bda737fa /sys/miscfs | |
parent | 0cb871361940624853d87af04c820ef1cbfb2d7d (diff) | |
download | FreeBSD-src-0790e5cf47ed3741eb769f7ab9ef76fdf5a55e02.zip FreeBSD-src-0790e5cf47ed3741eb769f7ab9ef76fdf5a55e02.tar.gz |
Rename the `VRXEC' macro used to clear read and exec bits to `FDRX' so
as not to impede upon VFS namespace.
Diffstat (limited to 'sys/miscfs')
-rw-r--r-- | sys/miscfs/fdesc/fdesc_vnops.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/miscfs/fdesc/fdesc_vnops.c b/sys/miscfs/fdesc/fdesc_vnops.c index b046fb3..33d2f49 100644 --- a/sys/miscfs/fdesc/fdesc_vnops.c +++ b/sys/miscfs/fdesc/fdesc_vnops.c @@ -307,9 +307,9 @@ fdesc_getattr(ap) * so turn off the 'r' and 'x' bits to avoid * trouble. */ -#define VRXEC (VREAD|VEXEC) - vap->va_mode &= ~((VRXEC)|(VRXEC>>3)|(VRXEC>>6)); -#undef VRXEC +#define FDRX (VREAD|VEXEC) + vap->va_mode &= ~((FDRX)|(FDRX>>3)|(FDRX>>6)); +#undef FDRX } /* * Make sure these nodes reflect data as it pertains |