diff options
Diffstat (limited to 'security/selinux/include/security.h')
-rw-r--r-- | security/selinux/include/security.h | 3 |
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 @@ | |||
33 | #define POLICYDB_VERSION_ROLETRANS 26 | 33 | #define POLICYDB_VERSION_ROLETRANS 26 |
34 | #define POLICYDB_VERSION_NEW_OBJECT_DEFAULTS 27 | 34 | #define POLICYDB_VERSION_NEW_OBJECT_DEFAULTS 27 |
35 | #define POLICYDB_VERSION_DEFAULT_TYPE 28 | 35 | #define POLICYDB_VERSION_DEFAULT_TYPE 28 |
36 | #define POLICYDB_VERSION_CONSTRAINT_NAMES 29 | ||
36 | 37 | ||
37 | /* Range of policy versions we understand*/ | 38 | /* Range of policy versions we understand*/ |
38 | #define POLICYDB_VERSION_MIN POLICYDB_VERSION_BASE | 39 | #define POLICYDB_VERSION_MIN POLICYDB_VERSION_BASE |
39 | #ifdef CONFIG_SECURITY_SELINUX_POLICYDB_VERSION_MAX | 40 | #ifdef CONFIG_SECURITY_SELINUX_POLICYDB_VERSION_MAX |
40 | #define POLICYDB_VERSION_MAX CONFIG_SECURITY_SELINUX_POLICYDB_VERSION_MAX_VALUE | 41 | #define POLICYDB_VERSION_MAX CONFIG_SECURITY_SELINUX_POLICYDB_VERSION_MAX_VALUE |
41 | #else | 42 | #else |
42 | #define POLICYDB_VERSION_MAX POLICYDB_VERSION_DEFAULT_TYPE | 43 | #define POLICYDB_VERSION_MAX POLICYDB_VERSION_CONSTRAINT_NAMES |
43 | #endif | 44 | #endif |
44 | 45 | ||
45 | /* Mask for just the mount related flags */ | 46 | /* Mask for just the mount related flags */ |