From ccba33df682ec4725c281f5a61be0068b1234555 Mon Sep 17 00:00:00 2001 From: Jan Alexander Steffens Date: Wed, 9 Mar 2022 16:09:34 +0000 Subject: [PATCH] Enable BPF_UNPRIV_DEFAULT_OFF This config was enabled by default in v5.15 and we should follow that. --- PKGBUILD | 2 +- config | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/PKGBUILD b/PKGBUILD index 4759e1c..d0c655f 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -26,7 +26,7 @@ validpgpkeys=( 'C7E7849466FE2358343588377258734B41C31549' # David Runge ) sha256sums=('SKIP' - '8f7365ce26b032e686b59217d0486a999e9eb1e747cae18b926aa7d706b8e716') + 'd73ff0ffc2c055b7d7df5a6709168a1f481b64a7eaa680b90643a042a8dbe28a') export KBUILD_BUILD_HOST=archlinux export KBUILD_BUILD_USER=$pkgbase diff --git a/config b/config index 5e412ab..710df5c 100644 --- a/config +++ b/config @@ -116,7 +116,7 @@ CONFIG_BPF_SYSCALL=y CONFIG_BPF_JIT=y CONFIG_BPF_JIT_ALWAYS_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_BPF_PRELOAD=y CONFIG_BPF_PRELOAD_UMD=m