diff options
author | John Johansen <john.johansen@canonical.com> | 2019-02-12 06:56:46 +0100 |
---|---|---|
committer | John Johansen <john.johansen@canonical.com> | 2019-04-11 23:56:37 +0200 |
commit | fe166a9f2868839a1e2f7bd950164d05e86eb154 (patch) | |
tree | 032a76042a56759f22039a06f43ab42a0ebfd001 /security | |
parent | apparmor: fix blob compression build failure on ppc (diff) | |
download | linux-fe166a9f2868839a1e2f7bd950164d05e86eb154.tar.xz linux-fe166a9f2868839a1e2f7bd950164d05e86eb154.zip |
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/Kconfig | 2 |
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. |