]> www.infradead.org Git - users/jedix/linux-maple.git/commit
bpf, lsm: Remove getlsmprop hooks BTF IDs
authorThomas Weißschuh <linux@weissschuh.net>
Mon, 25 Nov 2024 19:53:07 +0000 (20:53 +0100)
committerAlexei Starovoitov <ast@kernel.org>
Mon, 25 Nov 2024 22:14:17 +0000 (14:14 -0800)
commit8618f5ffba4d381610f6bb4c472a6148c2bfde96
tree7072cc63cbec461ff4b0f5cb1f3565bf4d9b7084
parent9f16d5e6f220661f73b36a4be1b21575651d8833
bpf, lsm: Remove getlsmprop hooks BTF IDs

These hooks are not useful for BPF LSM currently.
Furthermore a recent renaming introduced build warnings:

  BTFIDS  vmlinux
WARN: resolve_btfids: unresolved symbol bpf_lsm_task_getsecid_obj
WARN: resolve_btfids: unresolved symbol bpf_lsm_current_getsecid_subj

Link: https://lore.kernel.org/lkml/20241123-bpf_lsm_task_getsecid_obj-v1-1-0d0f94649e05@weissschuh.net/
Fixes: 37f670aacd48 ("lsm: use lsm_prop in security_current_getsecid")
Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Link: https://lore.kernel.org/r/20241125-bpf_lsm_task_getsecid_obj-v2-1-c8395bde84e0@weissschuh.net
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
kernel/bpf/bpf_lsm.c