[PATCH v2 2/2] riscv: selftests: Add a ptrace test to verify syscall parameter modification
Björn Töpel
bjorn at kernel.org
Tue Dec 3 03:38:06 PST 2024
Celeste Liu <uwu at coelacanthus.name> writes:
> From: Charlie Jenkins <charlie at rivosinc.com>
>
> 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 at vger.kernel.org
> Co-developed-by: Quan Zhou <zhouquan at iscas.ac.cn>
> Signed-off-by: Quan Zhou <zhouquan at iscas.ac.cn>
> Co-developed-by: Celeste Liu <uwu at coelacanthus.name>
> Signed-off-by: Celeste Liu <uwu at coelacanthus.name>
> Signed-off-by: Charlie Jenkins <charlie at rivosinc.com>
Nice with a selftest! (Don't think the Cc: stable applies... ;-))
Reviewed-by: Björn Töpel <bjorn at rivosinc.com>
More information about the linux-riscv
mailing list