summary refs log tree commit diff
path: root/kernel/bpf/verifier.c
diff options
context:
space:
mode:
authorJoe Stringer <joe@wand.net.nz>2018-02-14 13:50:36 -0800
committerDaniel Borkmann <daniel@iogearbox.net>2018-02-15 10:22:55 +0100
commit0a67487403683852e05fea97208ad7b0ed820115 (patch)
treeb0a75aef54e4be2611578f072b98536e4156afcc /kernel/bpf/verifier.c
parentd0a0e4956f6c20754ef67db6dfb9746e85ecdcb5 (diff)
downloadlinux-0a67487403683852e05fea97208ad7b0ed820115.tar.gz
selftests/bpf: Only run tests if !bpf_disabled
The "kernel.unprivileged_bpf_disabled" sysctl, if enabled, causes all
unprivileged tests to fail because it permanently disables unprivileged
BPF access for the currently running kernel. Skip the relevant tests if
the user attempts to run the testsuite with this sysctl enabled.

Signed-off-by: Joe Stringer <joe@wand.net.nz>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'kernel/bpf/verifier.c')
0 files changed, 0 insertions, 0 deletions