aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/bpf
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
parentselftests/bpf: Count tests skipped by unpriv (diff)
downloadlinux-dev-0a67487403683852e05fea97208ad7b0ed820115.tar.xz
linux-dev-0a67487403683852e05fea97208ad7b0ed820115.zip
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')
0 files changed, 0 insertions, 0 deletions