On Mon, Jan 25, 2021 at 7:39 AM Mikko Ylinen <mikko.ylinen@xxxxxxxxxxxxxxx> wrote: > > Some networking and keys LSM hooks are conditionally enabled > and when building the new sleepable BPF LSM hooks with those > LSM hooks disabled, the following build error occurs: > > BTFIDS vmlinux > FAILED unresolved symbol bpf_lsm_socket_socketpair > > To fix the error, conditionally add the relevant networking/keys > LSM hooks to the sleepable set. > > Fixes: 423f16108c9d8 ("bpf: Augment the set of sleepable LSM hooks") > Signed-off-by: Mikko Ylinen <mikko.ylinen@xxxxxxxxxxxxxxx> Acked-by: KP Singh <kpsingh@xxxxxxxxxx>