aboutsummaryrefslogtreecommitdiffstats
path: root/tools/lib/bpf/bpf.c
diff options
context:
space:
mode:
authorArtem Savkov <[email protected]>2022-08-10 06:59:05 +0000
committerAlexei Starovoitov <[email protected]>2022-08-10 16:22:18 +0000
commite338945816754a1c362f606b8e2029f2c023e51c (patch)
tree64d658b00f4c229d96a974e1dc0b40a0e4203e9f /tools/lib/bpf/bpf.c
parentbpf: export crash_kexec() as destructive kfunc (diff)
downloadkernel-e338945816754a1c362f606b8e2029f2c023e51c.tar.gz
kernel-e338945816754a1c362f606b8e2029f2c023e51c.zip
selftests/bpf: add destructive kfunc test
Add a test checking that programs calling destructive kfuncs can only do so if they have CAP_SYS_BOOT capabilities. Signed-off-by: Artem Savkov <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/lib/bpf/bpf.c')
0 files changed, 0 insertions, 0 deletions