[PATCH 2/4] apparmor: make the feature tables build without kernel headers

sashiko-bot at kernel.org sashiko-bot at kernel.org
Tue Nov 17 13:55:43 UTC 2026


> The feature tables are about to be built into a host program, and a
> host program cannot include kernel headers, see commit 541b57e31368
> ("selinux: do not include <linux/*.h> headers from host programs").
> 
> Move AA_SFS_SIG_MASK next to the signal table, and give the tables
> copies of MAX_OOB_SUPPORTED and VFS_CAP_FLAGS_MASK, which apparmorfs.c
> checks against the originals with static_assert().
> 
> The content of the features directory does not change.
> 
> Signed-off-by: Maxime Bélair <maxime.belair at canonical.com>

Sashiko has reviewed this patch and found no issues.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261117135042.78238-1-maxime.belair@canonical.com?part=2




More information about the Linux-security-module-archive mailing list