This commit is contained in:
@@ -1781,6 +1781,16 @@ CONFIG_DEBUG_INFO_BTF_MODULES=y\r
|
|||||||
msg2 "Setting config"
|
msg2 "Setting config"
|
||||||
make ${_config_updating} ${llvm_opt} |& tee -a "$_where"/logs/prepare.log.txt
|
make ${_config_updating} ${llvm_opt} |& tee -a "$_where"/logs/prepare.log.txt
|
||||||
|
|
||||||
|
# Modify the kernel config file to fit Fedora SELinux configuration
|
||||||
|
if [ "$_distro" = "Fedora" ] ; then
|
||||||
|
msg2 "SELinux activation for Fedora"
|
||||||
|
_enable "AUDIT"
|
||||||
|
_enable "SECURITY_SELINUX"
|
||||||
|
_enable "DEFAULT_SECURITY_SELINUX"
|
||||||
|
_disable "DEFAULT_SECURITY_DAC"
|
||||||
|
scripts/config --set-str "LSM" "lockdown,yama,integrity,selinux,bpf,landlock"
|
||||||
|
fi
|
||||||
|
|
||||||
# menuconfig / nconfig
|
# menuconfig / nconfig
|
||||||
if [ -z "$_menunconfig" ]; then
|
if [ -z "$_menunconfig" ]; then
|
||||||
plain ""
|
plain ""
|
||||||
|
Reference in New Issue
Block a user