summaryrefslogtreecommitdiff
path: root/security/selinux/include/security.h
diff options
context:
space:
mode:
authorJames Morris <james.l.morris@oracle.com>2014-01-07 01:45:59 +1100
committerJames Morris <james.l.morris@oracle.com>2014-01-07 01:45:59 +1100
commitd4a82a4a033d563f1dc2c944eec2358cb38432d0 (patch)
tree83f8fca138299584d47930d2509151ea38050253 /security/selinux/include/security.h
parent5f64822d63efa20cee9efe8766b3a62ab6a1f6c3 (diff)
parent465954cd649a7d8cd331695bd24a16bcb5c4c716 (diff)
downloadlwn-d4a82a4a033d563f1dc2c944eec2358cb38432d0.tar.gz
lwn-d4a82a4a033d563f1dc2c944eec2358cb38432d0.zip
Merge branch 'master' of git://git.infradead.org/users/pcmoore/selinux into next
Conflicts: security/selinux/hooks.c Resolved using request struct. Signed-off-by: James Morris <james.l.morris@oracle.com>
Diffstat (limited to 'security/selinux/include/security.h')
-rw-r--r--security/selinux/include/security.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/security/selinux/include/security.h b/security/selinux/include/security.h
index fe341ae37004..8ed8daf7f1ee 100644
--- a/security/selinux/include/security.h
+++ b/security/selinux/include/security.h
@@ -33,13 +33,14 @@
#define POLICYDB_VERSION_ROLETRANS 26
#define POLICYDB_VERSION_NEW_OBJECT_DEFAULTS 27
#define POLICYDB_VERSION_DEFAULT_TYPE 28
+#define POLICYDB_VERSION_CONSTRAINT_NAMES 29
/* Range of policy versions we understand*/
#define POLICYDB_VERSION_MIN POLICYDB_VERSION_BASE
#ifdef CONFIG_SECURITY_SELINUX_POLICYDB_VERSION_MAX
#define POLICYDB_VERSION_MAX CONFIG_SECURITY_SELINUX_POLICYDB_VERSION_MAX_VALUE
#else
-#define POLICYDB_VERSION_MAX POLICYDB_VERSION_DEFAULT_TYPE
+#define POLICYDB_VERSION_MAX POLICYDB_VERSION_CONSTRAINT_NAMES
#endif
/* Mask for just the mount related flags */