* [d-kernel] [PATCH] [6.12] config: add selinux to CONFIG_LSM
@ 2026-03-03 14:39 Anton Midyukov
0 siblings, 0 replies; only message in thread
From: Anton Midyukov @ 2026-03-03 14:39 UTC (permalink / raw)
To: devel-kernel
This is necessary to use Selinux.
Alternatively, can enable it in the kernel cmdline:
lsm=selinux,lockdown,capability,landlock,yama,safesetid,bpf,kiosk,ima,evm
But this clutters the kernel cmdline.
Signed-off-by: Anton Midyukov <antohami@altlinux.org>
---
config | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/config b/config
index 76dcac8f970d..ba51640d2b4f 100644
--- a/config
+++ b/config
@@ -10125,7 +10125,7 @@ CONFIG_EVM_EXTRA_SMACK_XATTRS=y
# CONFIG_DEFAULT_SECURITY_SMACK is not set
# CONFIG_DEFAULT_SECURITY_APPARMOR is not set
CONFIG_DEFAULT_SECURITY_DAC=y
-CONFIG_LSM="landlock,lockdown,yama,loadpin,safesetid,integrity,bpf,altha,kiosk"
+CONFIG_LSM="selinux,landlock,lockdown,yama,loadpin,safesetid,integrity,bpf,altha,kiosk"
#
# Kernel hardening options
--
2.50.1
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-03-03 14:39 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-03-03 14:39 [d-kernel] [PATCH] [6.12] config: add selinux to CONFIG_LSM Anton Midyukov
ALT Linux kernel packages development
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/devel-kernel/0 devel-kernel/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 devel-kernel devel-kernel/ http://lore.altlinux.org/devel-kernel \
devel-kernel@altlinux.org devel-kernel@altlinux.ru devel-kernel@altlinux.com
public-inbox-index devel-kernel
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.devel-kernel
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git