Re: [PATCH v2 2/2] riscv: selftests: Add a ptrace test to verify syscall parameter modification
From: Björn Töpel
Date: Tue Dec 03 2024 - 06:38:16 EST
Celeste Liu <uwu@xxxxxxxxxxxxxxxxx> writes:
> From: Charlie Jenkins <charlie@xxxxxxxxxxxx>
>
> This test checks that orig_a0 allows a syscall argument to be modified,
> and that changing a0 does not change the syscall argument.
>
> Cc: stable@xxxxxxxxxxxxxxx
> Co-developed-by: Quan Zhou <zhouquan@xxxxxxxxxxx>
> Signed-off-by: Quan Zhou <zhouquan@xxxxxxxxxxx>
> Co-developed-by: Celeste Liu <uwu@xxxxxxxxxxxxxxxxx>
> Signed-off-by: Celeste Liu <uwu@xxxxxxxxxxxxxxxxx>
> Signed-off-by: Charlie Jenkins <charlie@xxxxxxxxxxxx>
Nice with a selftest! (Don't think the Cc: stable applies... ;-))
Reviewed-by: Björn Töpel <bjorn@xxxxxxxxxxxx>