diff options
| author | Artem Savkov <[email protected]> | 2022-08-10 06:59:05 +0000 |
|---|---|---|
| committer | Alexei Starovoitov <[email protected]> | 2022-08-10 16:22:18 +0000 |
| commit | e338945816754a1c362f606b8e2029f2c023e51c (patch) | |
| tree | 64d658b00f4c229d96a974e1dc0b40a0e4203e9f /tools/lib/bpf/bpf.c | |
| parent | bpf: export crash_kexec() as destructive kfunc (diff) | |
| download | kernel-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
