Enable BPF_UNPRIV_DEFAULT_OFF

This config was enabled by default in v5.15 and we should follow that.
This commit is contained in:
Jan Alexander Steffens 2022-03-09 16:09:34 +00:00
parent 4f1d39f328
commit ccba33df68
2 changed files with 2 additions and 2 deletions

View File

@ -26,7 +26,7 @@ validpgpkeys=(
'C7E7849466FE2358343588377258734B41C31549' # David Runge <dvzrv@archlinux.org> 'C7E7849466FE2358343588377258734B41C31549' # David Runge <dvzrv@archlinux.org>
) )
sha256sums=('SKIP' sha256sums=('SKIP'
'8f7365ce26b032e686b59217d0486a999e9eb1e747cae18b926aa7d706b8e716') 'd73ff0ffc2c055b7d7df5a6709168a1f481b64a7eaa680b90643a042a8dbe28a')
export KBUILD_BUILD_HOST=archlinux export KBUILD_BUILD_HOST=archlinux
export KBUILD_BUILD_USER=$pkgbase export KBUILD_BUILD_USER=$pkgbase

2
config
View File

@ -116,7 +116,7 @@ CONFIG_BPF_SYSCALL=y
CONFIG_BPF_JIT=y CONFIG_BPF_JIT=y
CONFIG_BPF_JIT_ALWAYS_ON=y CONFIG_BPF_JIT_ALWAYS_ON=y
CONFIG_BPF_JIT_DEFAULT_ON=y CONFIG_BPF_JIT_DEFAULT_ON=y
# CONFIG_BPF_UNPRIV_DEFAULT_OFF is not set CONFIG_BPF_UNPRIV_DEFAULT_OFF=y
CONFIG_USERMODE_DRIVER=y CONFIG_USERMODE_DRIVER=y
CONFIG_BPF_PRELOAD=y CONFIG_BPF_PRELOAD=y
CONFIG_BPF_PRELOAD_UMD=m CONFIG_BPF_PRELOAD_UMD=m