mirror of
https://github.com/Divested-Mobile/DivestOS-Build.git
synced 2025-06-24 14:30:40 -04:00
Compile fixes
The backported fix for CVE-2021-39713 requires CONFIG_MODULES=y MODULES is default enabled, but some kernels are mutilated and break with it on Signed-off-by: Tad <tad@spotco.us>
This commit is contained in:
parent
28724c4a6e
commit
5d57bf13c4
5 changed files with 9 additions and 6 deletions
|
@ -777,7 +777,7 @@ hardenDefconfig() {
|
|||
#Enable supported options
|
||||
#Linux <3.0
|
||||
declare -a optionsYes=("BUG" "DEBUG_CREDENTIALS" "DEBUG_KERNEL" "DEBUG_LIST" "DEBUG_NOTIFIERS" "DEBUG_RODATA" "DEBUG_SET_MODULE_RONX" "DEBUG_VIRTUAL" "IPV6_PRIVACY" "SECCOMP" "SECURITY" "SECURITY_DMESG_RESTRICT" "SLUB_DEBUG" "STRICT_DEVMEM" "SYN_COOKIES");
|
||||
optionsYes+=("DEBUG_FS"); #fix compile issues
|
||||
optionsYes+=("DEBUG_FS" "MODULES"); #fix compile issues
|
||||
#optionsYes+=("DEBUG_SG"); #bootloops - https://patchwork.kernel.org/patch/8989981
|
||||
|
||||
#Linux 3.4
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue