diff mbox series

[SRU,N:raspi,O:raspi,1/1] UBUNTU: [Config] raspi: Enable landlock LSM by default

Message ID 20241028161216.226888-2-juerg.haefliger@canonical.com
State New
Headers show
Series On Pi desktop, numerous reports of lack of landlock supported ABI (LP: #2066885) | expand

Commit Message

Juerg Haefliger Oct. 28, 2024, 4:12 p.m. UTC
BugLink: https://bugs.launchpad.net/bugs/2066885

The landlock LSM was introduced in 5.15 and forgotten to be enabled
for raspi. The only difference to the generic kernel should be the
(lack of the) lockdown LSM.

Signed-off-by: Juerg Haefliger <juerg.haefliger@canonical.com>
---
 debian.raspi/config/annotations | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/debian.raspi/config/annotations b/debian.raspi/config/annotations
index f69c52956c3e..9e5dcdb57a3d 100644
--- a/debian.raspi/config/annotations
+++ b/debian.raspi/config/annotations
@@ -380,7 +380,7 @@  CONFIG_LOGO_LINUX_CLUT224                       policy<{'arm64': 'y'}> note<'Req
 CONFIG_LOGO_LINUX_MONO                          policy<{'arm64': 'n'}> note<'Required for Pi (not in master)'>
 CONFIG_LOGO_LINUX_VGA16                         policy<{'arm64': 'n'}> note<'Required for Pi (not in master)'>
 CONFIG_LOG_BUF_SHIFT                            policy<{'arm64': '17'}> note<'Different from master'>
-CONFIG_LSM                                      policy<{'arm64': '"yama,integrity,apparmor"'}> note<'Required for Pi (different from master)'>
+CONFIG_LSM                                      policy<{'arm64': '"landlock,yama,integrity,apparmor"'}> note<'Required for Pi (different from master)'>
 CONFIG_MAGIC_SYSRQ_DEFAULT_ENABLE               policy<{'arm64': '0x1'}> note<'Required for Pi (different from master)'>
 CONFIG_MAX5432                                  policy<{'arm64': 'n'}> note<'Different from master'>
 CONFIG_MCTP                                     policy<{'arm64': 'n'}> note<'Different from master'>