aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/net/core/sock_map.c
diff options
context:
space:
mode:
authorArtem Savkov <asavkov@redhat.com>2022-08-10 08:59:05 +0200
committerAlexei Starovoitov <ast@kernel.org>2022-08-10 09:22:18 -0700
commite338945816754a1c362f606b8e2029f2c023e51c (patch)
tree64d658b00f4c229d96a974e1dc0b40a0e4203e9f /net/core/sock_map.c
parentbpf: export crash_kexec() as destructive kfunc (diff)
downloadwireguard-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