aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/testing/selftests/bpf/prog_tests/libbpf_str.c
diff options
context:
space:
mode:
authorAndrii Nakryiko <andrii@kernel.org>2023-11-30 10:52:29 -0800
committerAlexei Starovoitov <ast@kernel.org>2023-12-06 10:03:00 -0800
commit36fb94944b35062db15ab3059f4123048cac658c (patch)
treeb25a269f54206b8652cf64b002d7d589d505a8c1 /tools/testing/selftests/bpf/prog_tests/libbpf_str.c
parentselftests/bpf: add BPF token-enabled tests (diff)
downloadwireguard-linux-36fb94944b35062db15ab3059f4123048cac658c.tar.xz
wireguard-linux-36fb94944b35062db15ab3059f4123048cac658c.zip
bpf,selinux: allocate bpf_security_struct per BPF token
Utilize newly added bpf_token_create/bpf_token_free LSM hooks to allocate struct bpf_security_struct for each BPF token object in SELinux. This just follows similar pattern for BPF prog and map. Signed-off-by: Andrii Nakryiko <andrii@kernel.org> Link: https://lore.kernel.org/r/20231130185229.2688956-18-andrii@kernel.org Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/libbpf_str.c')
0 files changed, 0 insertions, 0 deletions