mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-06-26 15:32:30 +00:00
kernel: Add kernel configs for SELinux
Add kernel configs related to SELinux in order to add the support for containers running inside the guest. Fixes: #4812 Signed-off-by: Manabu Sugimoto <Manabu.Sugimoto@sony.com>
This commit is contained in:
parent
681d946644
commit
a9c746f284
12
tools/packaging/kernel/configs/fragments/common/lsm.conf
Normal file
12
tools/packaging/kernel/configs/fragments/common/lsm.conf
Normal file
@ -0,0 +1,12 @@
|
||||
# SELinux support:
|
||||
CONFIG_AUDIT=y
|
||||
CONFIG_AUDITSYSCALL=y
|
||||
CONFIG_LSM_MMAP_MIN_ADDR=6553
|
||||
CONFIG_NETWORK_SECMARK=y
|
||||
CONFIG_SECURITY_NETWORK=y
|
||||
CONFIG_SECURITY_SELINUX=y
|
||||
CONFIG_SECURITY_SELINUX_BOOTPARAM=y
|
||||
CONFIG_SECURITY_SELINUX_DEVELOP=y
|
||||
CONFIG_SECURITY_SELINUX_CHECKREQPROT_VALUE=0
|
||||
CONFIG_SECURITY_SELINUX_SIDTAB_HASH_BITS=9
|
||||
CONFIG_SECURITY_SELINUX_SID2STR_CACHE_SIZE=256
|
@ -1 +1 @@
|
||||
96
|
||||
97
|
||||
|
Loading…
Reference in New Issue
Block a user