Enable bpf JIT and allow unprivileged bpf by default without having to specify on every boot:
echo "0" > /proc/sys/kernel/unprivileged_bpf_disabled
Signed-off-by: Zachary Leaf zachary.leaf@arm.com --- arch/arm64/configs/morello_pcuabi_defconfig | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/arch/arm64/configs/morello_pcuabi_defconfig b/arch/arm64/configs/morello_pcuabi_defconfig index eb778c38abbe..620460d12749 100644 --- a/arch/arm64/configs/morello_pcuabi_defconfig +++ b/arch/arm64/configs/morello_pcuabi_defconfig @@ -4,6 +4,8 @@ CONFIG_AUDIT=y CONFIG_NO_HZ_IDLE=y CONFIG_HIGH_RES_TIMERS=y CONFIG_BPF_SYSCALL=y +CONFIG_BPF_JIT=y +# CONFIG_BPF_UNPRIV_DEFAULT_OFF is not set CONFIG_PREEMPT=y CONFIG_IRQ_TIME_ACCOUNTING=y CONFIG_BSD_PROCESS_ACCT=y