summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorJohn Johansen <john.johansen@canonical.com>2019-02-11 21:56:46 -0800
committerJohn Johansen <john.johansen@canonical.com>2019-04-11 14:56:37 -0700
commitfe166a9f2868839a1e2f7bd950164d05e86eb154 (patch)
tree032a76042a56759f22039a06f43ab42a0ebfd001 /security
parent6a59d9243d349ae598e8ea74c36aa8e31705071a (diff)
downloadlinux-next-fe166a9f2868839a1e2f7bd950164d05e86eb154.tar.gz
apparmor: fix missing ZLIB defines
On configs where ZLIB is not already selected we are getting undefined reference to `zlib_deflateInit2' undefined reference to `zlib_deflate' undefined reference to `zlib_deflateEnd' For now just select the necessary ZLIB configs. Fixes: 876dd866c084 ("apparmor: Initial implementation of raw policy blob compression") Signed-off-by: John Johansen <john.johansen@canonical.com>
Diffstat (limited to 'security')
-rw-r--r--security/apparmor/Kconfig2
1 files changed, 2 insertions, 0 deletions
diff --git a/security/apparmor/Kconfig b/security/apparmor/Kconfig
index 3de21f46c82a..99c35e22c119 100644
--- a/security/apparmor/Kconfig
+++ b/security/apparmor/Kconfig
@@ -5,6 +5,8 @@ config SECURITY_APPARMOR
select SECURITY_PATH
select SECURITYFS
select SECURITY_NETWORK
+ select ZLIB_INFLATE
+ select ZLIB_DEFLATE
default n
help
This enables the AppArmor security module.