diff options
author | William Roberts <william.c.roberts@intel.com> | 2016-08-15 21:42:12 +0200 |
---|---|---|
committer | Paul Moore <paul@paul-moore.com> | 2016-08-19 02:01:15 +0200 |
commit | 348a0db9e69e4c214bf5d7677f17cb99cdc47db0 (patch) | |
tree | 2f4d8eece6b89d0fd12269eacf8f886e505623a0 /security/selinux/include/security.h | |
parent | selinux: Implement dentry_create_files_as() hook (diff) | |
download | linux-348a0db9e69e4c214bf5d7677f17cb99cdc47db0.tar.xz linux-348a0db9e69e4c214bf5d7677f17cb99cdc47db0.zip |
selinux: drop SECURITY_SELINUX_POLICYDB_VERSION_MAX
Remove the SECURITY_SELINUX_POLICYDB_VERSION_MAX Kconfig option
Per: https://github.com/SELinuxProject/selinux/wiki/Kernel-Todo
This was only needed on Fedora 3 and 4 and just causes issues now,
so drop it.
The MAX and MIN should just be whatever the kernel can support.
Signed-off-by: William Roberts <william.c.roberts@intel.com>
Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'security/selinux/include/security.h')
-rw-r--r-- | security/selinux/include/security.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/security/selinux/include/security.h b/security/selinux/include/security.h index 38feb55d531a..308a286c6cbe 100644 --- a/security/selinux/include/security.h +++ b/security/selinux/include/security.h @@ -39,11 +39,7 @@ /* 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_XPERMS_IOCTL -#endif /* Mask for just the mount related flags */ #define SE_MNTMASK 0x0f |