diff options
| author | Alexis Lothoré (eBPF Foundation) <alexis.lothore@bootlin.com> | 2026-09-03 15:51:36 +0200 |
|---|---|---|
| committer | Alexei Starovoitov <ast@kernel.org> | 2026-09-04 09:54:19 -0700 |
| commit | 9123a4d4c4f3321efbb40569b81985d9654abe25 (patch) | |
| tree | 05f1ae27335473e15a45923ee52708f266bc242a /scripts/Makefile.thinlto | |
| parent | 040ef1f8b02e57b78081581d490ceec04ef5f7c0 (diff) | |
| download | linux-next-9123a4d4c4f3321efbb40569b81985d9654abe25.tar.gz linux-next-9123a4d4c4f3321efbb40569b81985d9654abe25.zip | |
selftests/bpf: add helpers for KASAN in JIT testing
Add two simple helpers to allow checking whether KASAN for eBPF tests
should be executed:
- one helper to check if BPF_JIT_KASAN is enabled in kernel
configuration
- one helper to check if the kernel is running with kasan_multi_shot
(otherwise only the first test will be able to trigger a report)
Acked-by: Ihor Solodrai <ihor.solodrai@linux.dev>
Signed-off-by: Alexis Lothoré (eBPF Foundation) <alexis.lothore@bootlin.com>
Link: https://lore.kernel.org/r/20260903-kasan-v9-7-2407fe99255a@bootlin.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
