summaryrefslogtreecommitdiff
path: root/security/selinux/include/security.h
diff options
context:
space:
mode:
authorEric Paris <eparis@redhat.com>2012-08-24 23:59:21 +0400
committerEric Paris <eparis@redhat.com>2013-07-25 21:03:12 +0400
commit308ab70c465d97cf7e3168961dfd365535de21a6 (patch)
tree36c14a71bf0dade0d63e6f9d32407364ccc29b8b /security/selinux/include/security.h
parentf936c6e502d3bc21b87c9830b3a24d1e07e6b6e1 (diff)
downloadlinux-308ab70c465d97cf7e3168961dfd365535de21a6.tar.xz
SELinux: do not handle seclabel as a special flag
Instead of having special code around the 'non-mount' seclabel mount option just handle it like the mount options. Signed-off-by: Eric Paris <eparis@redhat.com>
Diffstat (limited to 'security/selinux/include/security.h')
-rw-r--r--security/selinux/include/security.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/security/selinux/include/security.h b/security/selinux/include/security.h
index 20830be6b61f..1a73fcd51d56 100644
--- a/security/selinux/include/security.h
+++ b/security/selinux/include/security.h
@@ -43,7 +43,7 @@
#endif
/* Mask for just the mount related flags */
-#define SE_MNTMASK 0x0f
+#define SE_MNTMASK 0x1f
/* Super block security struct flags for mount options */
/* BE CAREFUL, these need to be the low order bits for selinux_get_mnt_opts */
#define CONTEXT_MNT 0x01