diff options
author | Blaise Boscaccy <bboscaccy@linux.microsoft.com> | 2025-03-11 01:17:12 +0300 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2025-03-15 21:48:58 +0300 |
commit | 7987f1627e6173ecd9f7d532ca9ee8f62112f381 (patch) | |
tree | d96b61d619adcf7c68dba2a82cd4e875603127b8 /scripts/gdb/linux/proc.py | |
parent | 082f1db02c8034fee787ea9809775ea861c50430 (diff) | |
download | linux-7987f1627e6173ecd9f7d532ca9ee8f62112f381.tar.xz |
selftests/bpf: Add a kernel flag test for LSM bpf hook
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@linux.microsoft.com>
Acked-by: Song Liu <song@kernel.org>
Link: https://lore.kernel.org/r/20250310221737.821889-3-bboscaccy@linux.microsoft.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/proc.py')
0 files changed, 0 insertions, 0 deletions