aboutsummaryrefslogtreecommitdiff
path: root/kernel/bpf/syscall.c
diff options
context:
space:
mode:
authorEduard Zingerman <[email protected]>2022-11-16 03:54:56 +0200
committerAlexei Starovoitov <[email protected]>2022-11-15 21:38:04 -0800
commit5b1d640800de7fe02d68bf592d9d101de24c87f2 (patch)
treecaef512922aa98f489182929066b5999cc8dd1f8 /kernel/bpf/syscall.c
parentdf9c41e9db2d0fc9feba0423c21e4319d8acd033 (diff)
selftests/bpf: allow unpriv bpf for selftests by default
Enable unprivileged bpf for selftests kernel by default. This forces CI to run test_verifier tests in both privileged and unprivileged modes. The test_verifier.c:do_test uses sysctl kernel.unprivileged_bpf_disabled to decide whether to run or to skip test cases in unprivileged mode. The CONFIG_BPF_UNPRIV_DEFAULT_OFF controls the default value of the kernel.unprivileged_bpf_disabled. Signed-off-by: Eduard Zingerman <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'kernel/bpf/syscall.c')
0 files changed, 0 insertions, 0 deletions