Skip to content

Commit fe166a9

Browse files
committed
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: 876dd86 ("apparmor: Initial implementation of raw policy blob compression") Signed-off-by: John Johansen <[email protected]>
1 parent 6a59d92 commit fe166a9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

security/apparmor/Kconfig

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ config SECURITY_APPARMOR
55
select SECURITY_PATH
66
select SECURITYFS
77
select SECURITY_NETWORK
8+
select ZLIB_INFLATE
9+
select ZLIB_DEFLATE
810
default n
911
help
1012
This enables the AppArmor security module.

0 commit comments

Comments
 (0)