Skip to content

Automatic LSM stack ordering

Mickaël Salaün linux-security-module lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v3 Latest1 patch 16 repliesIn review

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1security: Add CONFIG_LSM_AUTO to handle default LSM stack orderingsecurity/Kconfig security/security.c+44 -116 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [PATCH v3 0/1] Automatic LSM stack ordering

Hi,

This patch series gives the opportunity to users to not manually configure the list of LSM enabled at boot but instead always rely on the up-to-date list of existing LSMs. Indeed, CONFIG_LSM may never be updated with a make oldconfig whereas users may select new LSMs over time. With this patch, when running make oldconfig, a new option CONFIG_LSM_AUTO is pre-selected to delegate LSM ordering to the kernel developers, according to the user configuration.

This third series replace the previous virtual dependencies with a new option to automatically enable all selected LSMs. This is cleaner, simpler, and makes the transition more convenient.

This patch series can be applied on v5.11-7580-gea914b7ffbfd (or v5.11). Previous version:
https://lore.kernel.org/r/[email protected]

Mickaël Salaün (1):
security: Add CONFIG_LSM_AUTO to handle default LSM stack ordering

 security/Kconfig    | 19 +++++++++++++++++++
 security/security.c | 26 +++++++++++++++++++++++++-
 2 files changed, 44 insertions(+), 1 deletion(-)

base-commit: 31caf8b2a847214be856f843e251fc2ed2cd1075

Signature · 1 line
2.30.0