diff options
| author | John Johansen <john.johansen@canonical.com> | 2026-08-01 00:15:52 -0700 |
|---|---|---|
| committer | John Johansen <john.johansen@canonical.com> | 2026-08-01 00:23:42 -0700 |
| commit | b0c2e98d291b9db03dcbaddd38d3a33428b098a8 (patch) | |
| tree | 241995c4595d6c7bacd05a5cbbd1cdf42e849692 /tools/perf/scripts/python/bin | |
| parent | 1c5f27e845e84f58ed6bbe3e6bc12d6a013e74b5 (diff) | |
apparmor: fix implicit declaration of function 'decompress_zstd'
When CONFIG_ZSTD_DECOMPRESS is not enabled, and neither
CONFIG_SECURITY_APPARMOR_EXPORT_BINARY nor
CONFIG_SECURITY_APPARMOR_COMPRESSED_POLICY are enabled.
The build will fail with implicit declaration of function
'decompress_zstd' because there is not an appropriate stub function,
for when the zstd decompression isn't enabled.
In addition fix compress_min, and compress_max to be conditional on
CONFIG_SECURITY_APPARMOR_EXPORT_BINARY, as they are used with the
exported policy.
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202608010834.9yIVzhG2-lkp@intel.com/
Fixes: 1c5f27e845e84 ("apparmor: Fix build failure when ZSTD_DECOMPRESS is not enabled")
Signed-off-by: John Johansen <john.johansen@canonical.com>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
