apparmor: fix missing ZLIB defines
authorJohn Johansen <john.johansen@canonical.com>
Tue, 12 Feb 2019 05:56:46 +0000 (21:56 -0800)
committerJohn Johansen <john.johansen@canonical.com>
Thu, 11 Apr 2019 21:56:37 +0000 (14:56 -0700)
commitfe166a9f2868839a1e2f7bd950164d05e86eb154
tree032a76042a56759f22039a06f43ab42a0ebfd001
parent6a59d9243d349ae598e8ea74c36aa8e31705071a
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>
security/apparmor/Kconfig