diff options
author | Andrii Nakryiko <[email protected]> | 2023-11-30 10:52:29 -0800 |
---|---|---|
committer | Alexei Starovoitov <[email protected]> | 2023-12-06 10:03:00 -0800 |
commit | 36fb94944b35062db15ab3059f4123048cac658c (patch) | |
tree | b25a269f54206b8652cf64b002d7d589d505a8c1 /tools/testing/selftests/bpf/progs/sendmsg_unix_prog.c | |
parent | dc5196fac40c2cb96330bcb98eef868a7fd225b3 (diff) |
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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/sendmsg_unix_prog.c')
0 files changed, 0 insertions, 0 deletions