I need to modify the default config-6.6
for x86/64 to include
CONFIG_LSM="lockdown,yama,loadpin,safesetid,integrity,landlock"
CONFIG_SECURITY=y
CONFIG_SECURITY_LANDLOCK=y
I tried doing this in target/linux/generic/config-6.6
(removing the commented versions of these options) but when I build my image, the settings of CONFIG_SECURITY=y
and CONFIG_SECURITY_LANDLOCK=y
are getting dropped. I am assuming there is a conflicting setting that overrides them upon compilation? I also tried adding these to target/linux/x86/config-6.6
but that too did not work.
- Is
target/linux/generic/config-6.6
the right place to modify? - Any thoughts on what other setting is causing these to get ignored?