diff options
author | Andrii Nakryiko <andrii@kernel.org> | 2024-01-23 18:21:14 -0800 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2024-01-24 16:21:02 -0800 |
commit | 0054493e5141b16e316b8c52d6aa534397e48b6c (patch) | |
tree | 045ff7cf45922b3eeeca0ddfc2ee440666f9519f /security/selinux/xfrm.c | |
parent | fcb9597ff7d1f7c772c1237dd2d04dd44e622501 (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 <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 'security/selinux/xfrm.c')
0 files changed, 0 insertions, 0 deletions