summaryrefslogtreecommitdiff
path: root/security/apparmor
diff options
context:
space:
mode:
authorJohn Johansen <john.johansen@canonical.com>2019-02-12 08:56:46 +0300
committerJohn Johansen <john.johansen@canonical.com>2019-04-12 00:56:37 +0300
commitfe166a9f2868839a1e2f7bd950164d05e86eb154 (patch)
tree032a76042a56759f22039a06f43ab42a0ebfd001 /security/apparmor
parent6a59d9243d349ae598e8ea74c36aa8e31705071a (diff)
downloadlinux-fe166a9f2868839a1e2f7bd950164d05e86eb154.tar.xz
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/apparmor')
-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.