diff options
author | Artem Savkov <asavkov@redhat.com> | 2022-08-10 08:59:05 +0200 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2022-08-10 09:22:18 -0700 |
commit | e338945816754a1c362f606b8e2029f2c023e51c (patch) | |
tree | 64d658b00f4c229d96a974e1dc0b40a0e4203e9f /tools/bpf/bpftool/json_writer.c | |
parent | 133790596406ce2658f0864eb7eac64987c2b12f (diff) | |
download | linux-e338945816754a1c362f606b8e2029f2c023e51c.tar.bz2 |
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 <asavkov@redhat.com>
Link: https://lore.kernel.org/r/20220810065905.475418-4-asavkov@redhat.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/bpf/bpftool/json_writer.c')
0 files changed, 0 insertions, 0 deletions