[PATCH 2/2] selftests/bpf: Add test for bpf_override_return helper

Song Liu songliubraving at meta.com
Wed Nov 5 14:04:46 PST 2025



> On Nov 5, 2025, at 4:59 AM, Jiri Olsa <jolsa at kernel.org> wrote:
> 
> We do not actualy test the bpf_override_return helper functionality
> itself at the moment, only the bpf program being able to attach it.
> 
> Adding test that override prctl syscall return value on top of
> kprobe and kprobe.multi.
> 
> Signed-off-by: Jiri Olsa <jolsa at kernel.org>

The test looks good to me. 

Acked-by: Song Liu <song at kernel.org>




More information about the linux-arm-kernel mailing list