[PATCH 4/4] kbuild: install the AppArmor feature set with the modules
sashiko-bot at kernel.org
sashiko-bot at kernel.org
Tue Nov 17 13:58:01 UTC 2026
> A package hook that compiles the policy for a kernel when it is
> installed only knows the release of that kernel, so the feature set
> has to be in a place that is derived from the release.
>
> Install it as $(MODLIB)/apparmor/features with modules_install
>
> aa-precompile, which is proposed for the apparmor user space tools,
> reads the file from /lib/modules/<release>/apparmor/features if it
> exists.
>
> 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=4
More information about the Linux-security-module-archive
mailing list