diff options
author | John Johansen <john.johansen@canonical.com> | 2022-09-29 15:24:29 +0200 |
---|---|---|
committer | John Johansen <john.johansen@canonical.com> | 2022-10-03 23:49:04 +0200 |
commit | 70f24a9f9084b7fffd95daa707cce8e339b189dd (patch) | |
tree | 28866ed514dc725bf89c821b22624a2d8ff32138 /security/selinux | |
parent | apparmor: make sure the decompression ctx is promperly initialized (diff) | |
download | linux-70f24a9f9084b7fffd95daa707cce8e339b189dd.tar.xz linux-70f24a9f9084b7fffd95daa707cce8e339b189dd.zip |
apparmor: Fix undefined references to zstd_ symbols
Unfortunately the switch to using zstd compression did not properly
ifdef all the code that uses zstd_ symbols. So that if exporting of
binary policy is disabled in the config the compile will fail with the
following errors
security/apparmor/lsm.c:1545: undefined reference to `zstd_min_clevel'
aarch64-linux-ld: security/apparmor/lsm.c:1545: undefined reference to `zstd_max_clevel'
Reported-by: kernel test robot <lkp@intel.com>
Fixes: 52ccc20c652b ("apparmor: use zstd compression for profile data")
Signed-off-by: John Johansen <john.johansen@canonical.com>
Acked-by: Jon Tourville <jon.tourville@canonical.com>
Diffstat (limited to 'security/selinux')
0 files changed, 0 insertions, 0 deletions