summaryrefslogtreecommitdiff
path: root/kernel/bpf/arraymap.c
diff options
context:
space:
mode:
authorAndrii Nakryiko <andrii@kernel.org>2024-01-24 05:21:14 +0300
committerAlexei Starovoitov <ast@kernel.org>2024-01-25 03:21:02 +0300
commit0054493e5141b16e316b8c52d6aa534397e48b6c (patch)
tree045ff7cf45922b3eeeca0ddfc2ee440666f9519f /kernel/bpf/arraymap.c
parentfcb9597ff7d1f7c772c1237dd2d04dd44e622501 (diff)
downloadlinux-0054493e5141b16e316b8c52d6aa534397e48b6c.tar.xz
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> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Link: https://lore.kernel.org/bpf/20240124022127.2379740-18-andrii@kernel.org
Diffstat (limited to 'kernel/bpf/arraymap.c')
0 files changed, 0 insertions, 0 deletions