Re: [PATCH] bpf, lsm: Remove bpf_lsm_key_free hook

From: Song Liu
Date: Fri Oct 04 2024 - 20:20:10 EST


On Fri, Oct 4, 2024 at 5:07 PM Thomas Weißschuh <linux@xxxxxxxxxxxxxx> wrote:
>
> 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@xxxxxxxxxxxxxx>

LGTM.

Acked-by: Song Liu <song@xxxxxxxxxx>