[PATCH v7 9/10] selftests/hornet: Add a selftest for the Hornet LSM
Paul Moore
paul at paul-moore.com
Wed May 13 18:36:23 UTC 2026
On May 7, 2026 Blaise Boscaccy <bboscaccy at linux.microsoft.com> wrote:
>
> This selftest contains a testcase that utilizes light skeleton eBPF
> loaders and exercises hornet's map validation.
>
> Signed-off-by: Blaise Boscaccy <bboscaccy at linux.microsoft.com>
> ---
> tools/testing/selftests/Makefile | 1 +
> tools/testing/selftests/hornet/Makefile | 63 ++++++++++++++++++++
> tools/testing/selftests/hornet/loader.c | 21 +++++++
> tools/testing/selftests/hornet/trivial.bpf.c | 33 ++++++++++
> 4 files changed, 118 insertions(+)
> create mode 100644 tools/testing/selftests/hornet/Makefile
> create mode 100644 tools/testing/selftests/hornet/loader.c
> create mode 100644 tools/testing/selftests/hornet/trivial.bpf.c
Merged into lsm/dev, thanks.
--
paul-moore.com
More information about the Linux-security-module-archive
mailing list