Re: [PATCHv6 bpf-next 12/16] selftests/bpf: Add kprobe session verifier test for return value
From: Andrii Nakryiko
Date: Thu Oct 10 2024 - 22:24:34 EST
On Thu, Oct 10, 2024 at 1:12 PM Jiri Olsa <jolsa@xxxxxxxxxx> wrote:
>
> Making sure kprobe.session program can return only [0,1] values.
>
> Signed-off-by: Jiri Olsa <jolsa@xxxxxxxxxx>
> ---
> .../bpf/prog_tests/kprobe_multi_test.c | 2 ++
> .../bpf/progs/kprobe_multi_verifier.c | 31 +++++++++++++++++++
> 2 files changed, 33 insertions(+)
> create mode 100644 tools/testing/selftests/bpf/progs/kprobe_multi_verifier.c
>
Acked-by: Andrii Nakryiko <andrii@xxxxxxxxxx>
[...]