aboutsummaryrefslogtreecommitdiff
path: root/security/selinux/include
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@woody.linux-foundation.org>2008-03-05 17:49:38 -0800
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2008-03-05 17:49:38 -0800
commitda71aeb6149cf6c9c98b8ff2ce1c2ae93dbcfa75 (patch)
tree9ce38e26ec55bc03d9d7aeb7dce188b9d73aa73e /security/selinux/include
parent9af6b056a281c81ae6043e0f5b4e2cb323f5bb43 (diff)
parentf9c3a3802119a2d30f3e4a69aef30a81e09d0209 (diff)
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/selinux-2.6
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/selinux-2.6: NFS: use new LSM interfaces to explicitly set mount options LSM/SELinux: Interfaces to allow FS to control mount options
Diffstat (limited to 'security/selinux/include')
-rw-r--r--security/selinux/include/security.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/security/selinux/include/security.h b/security/selinux/include/security.h
index 837ce420d2f..f7d2f03781f 100644
--- a/security/selinux/include/security.h
+++ b/security/selinux/include/security.h
@@ -35,6 +35,11 @@
#define POLICYDB_VERSION_MAX POLICYDB_VERSION_POLCAP
#endif
+#define CONTEXT_MNT 0x01
+#define FSCONTEXT_MNT 0x02
+#define ROOTCONTEXT_MNT 0x04
+#define DEFCONTEXT_MNT 0x08
+
struct netlbl_lsm_secattr;
extern int selinux_enabled;