diff options
author | 2022-08-10 08:59:05 +0200 | |
---|---|---|
committer | 2022-08-10 09:22:18 -0700 | |
commit | e338945816754a1c362f606b8e2029f2c023e51c (patch) | |
tree | 64d658b00f4c229d96a974e1dc0b40a0e4203e9f /net/core/sock_map.c | |
parent | bpf: export crash_kexec() as destructive kfunc (diff) | |
download | wireguard-linux-e338945816754a1c362f606b8e2029f2c023e51c.tar.xz wireguard-linux-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 <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 'net/core/sock_map.c')
0 files changed, 0 insertions, 0 deletions