FS#71270: Don't enable "bpf" LSM by default
It provides all possible hooks, which makes it harder to properly use major LSMs. Using security= to enable a major LSM puts it at the end of the list. Some functions (like security_getprocattr) only use the first matching hook, thus prefer bpf.
This commit is contained in:
parent
3f21513a71
commit
d7bf404c33
2
PKGBUILD
2
PKGBUILD
@ -25,7 +25,7 @@ validpgpkeys=(
|
||||
'A2FF3A36AAA56654109064AB19802F8B0D70FC30' # Jan Alexander Steffens (heftig)
|
||||
)
|
||||
sha256sums=('SKIP'
|
||||
'0d0691aa0f80fea0d9d204c05a845416dd443f3bb629cbb68e098e4d19cc841d')
|
||||
'3179e545a24ca7ed4c53fdc60299262381b9b2c587fb66c82aece2133ef762a9')
|
||||
|
||||
export KBUILD_BUILD_HOST=archlinux
|
||||
export KBUILD_BUILD_USER=$pkgbase
|
||||
|
4
config
4
config
@ -1,6 +1,6 @@
|
||||
#
|
||||
# Automatically generated file; DO NOT EDIT.
|
||||
# Linux/x86 5.12.8-arch1 Kernel Configuration
|
||||
# Linux/x86 5.12.10-arch1 Kernel Configuration
|
||||
#
|
||||
CONFIG_CC_VERSION_TEXT="gcc (GCC) 11.1.0"
|
||||
CONFIG_CC_IS_GCC=y
|
||||
@ -9689,7 +9689,7 @@ CONFIG_LOCK_DOWN_KERNEL_FORCE_NONE=y
|
||||
# CONFIG_DEFAULT_SECURITY_TOMOYO is not set
|
||||
# CONFIG_DEFAULT_SECURITY_APPARMOR is not set
|
||||
CONFIG_DEFAULT_SECURITY_DAC=y
|
||||
CONFIG_LSM="lockdown,yama,bpf"
|
||||
CONFIG_LSM="lockdown,yama"
|
||||
|
||||
#
|
||||
# Kernel hardening options
|
||||
|
Loading…
Reference in New Issue
Block a user