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

Song Liu song at kernel.org
Fri Mar 7 22:45:11 UTC 2025


On Fri, Mar 7, 2025 at 1:37 PM Blaise Boscaccy
<bboscaccy at linux.microsoft.com> 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 at linux.microsoft.com>

This test is failing in CI, for example:

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

Thanks,
Song



More information about the Linux-security-module-archive mailing list