]> www.infradead.org Git - users/hch/dma-mapping.git/commit
bpf, lsm: Remove bpf_lsm_key_free hook
authorThomas Weißschuh <linux@weissschuh.net>
Sat, 5 Oct 2024 00:06:28 +0000 (02:06 +0200)
committerAndrii Nakryiko <andrii@kernel.org>
Tue, 8 Oct 2024 19:52:40 +0000 (12:52 -0700)
commitb24d7f0da6ef5a23456a301eaf51b170f961d4ae
treeb01e86e8d345df974b26ae65ad6fa45a2b19f649
parent45126b155e3b5201179cdc038504bf93a8ccd921
bpf, lsm: Remove bpf_lsm_key_free hook

The key_free LSM hook has been removed.
Remove the corresponding BPF hook.

Avoid warnings during the build:
  BTFIDS  vmlinux
WARN: resolve_btfids: unresolved symbol bpf_lsm_key_free

Fixes: 5f8d28f6d7d5 ("lsm: infrastructure management of the key security blob")
Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Acked-by: Song Liu <song@kernel.org>
Acked-by: Jiri Olsa <jolsa@kernel.org>
Link: https://lore.kernel.org/bpf/20241005-lsm-key_free-v1-1-42ea801dbd63@weissschuh.net
kernel/bpf/bpf_lsm.c