Re: [PATCH v5 bpf-next 2/2] selftests/bpf: Add a kernel flag test for LSM bpf hook

From: Song Liu
Date: Fri Mar 07 2025 - 17:45:36 EST


On Fri, Mar 7, 2025 at 1:37 PM Blaise Boscaccy
<bboscaccy@xxxxxxxxxxxxxxxxxxx> wrote:
>
> This test exercises the kernel flag added to security_bpf by
> effectively blocking light-skeletons from loading while allowing
> normal skeletons to function as-is. Since this should work with any
> arbitrary BPF program, an existing program from LSKELS_EXTRA was
> used as a test payload.
>
> Signed-off-by: Blaise Boscaccy <bboscaccy@xxxxxxxxxxxxxxxxxxx>

This test is failing in CI, for example:

https://github.com/kernel-patches/bpf/actions/runs/13729932033/job/38405051864

Thanks,
Song