[PATCH 1/4] apparmor: move the feature tables to a header
sashiko-bot at kernel.org
sashiko-bot at kernel.org
Tue Nov 17 13:55:44 UTC 2026
> The tables that describe the securityfs features directory are spread
> over apparmorfs.c, capability.c, net.c and resource.c. Move them to
> include/features.h, so that a later patch can also build them into a
> host program, which writes the feature set to a file when the kernel
> is built.
>
> Three of the tables use a generated mask. Collect the masks in
> feature_masks.h, apart from the name tables they are generated with.
>
> The entries are moved as they are, and 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=1
More information about the Linux-security-module-archive
mailing list