summaryrefslogtreecommitdiffstats
path: root/sys/security/mac_bsdextended
diff options
context:
space:
mode:
authortrasz <trasz@FreeBSD.org>2009-03-29 17:45:48 +0000
committertrasz <trasz@FreeBSD.org>2009-03-29 17:45:48 +0000
commit048abafaf9a435fb875b6c78ab52eb109811be96 (patch)
treed03c097b86131679060f8443a42eaab9f8d3456d /sys/security/mac_bsdextended
parentaa09259c5bcc6d45a8e5cab2cb09d667d8d3c78e (diff)
downloadFreeBSD-src-048abafaf9a435fb875b6c78ab52eb109811be96.zip
FreeBSD-src-048abafaf9a435fb875b6c78ab52eb109811be96.tar.gz
Get rid of VSTAT and replace it with VSTAT_PERMS, which is somewhat
better defined. Approved by: rwatson (mentor)
Diffstat (limited to 'sys/security/mac_bsdextended')
-rw-r--r--sys/security/mac_bsdextended/mac_bsdextended.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/security/mac_bsdextended/mac_bsdextended.c b/sys/security/mac_bsdextended/mac_bsdextended.c
index ee72df4..cc36851 100644
--- a/sys/security/mac_bsdextended/mac_bsdextended.c
+++ b/sys/security/mac_bsdextended/mac_bsdextended.c
@@ -478,9 +478,9 @@ ugidfw_accmode2mbi(accmode_t accmode)
mbi |= MBI_WRITE;
if (accmode & VREAD)
mbi |= MBI_READ;
- if (accmode & VADMIN)
+ if (accmode & VADMIN_PERMS)
mbi |= MBI_ADMIN;
- if (accmode & VSTAT)
+ if (accmode & VSTAT_PERMS)
mbi |= MBI_STAT;
if (accmode & VAPPEND)
mbi |= MBI_APPEND;
OpenPOWER on IntegriCloud