Re: [PATCH] riscv/entry: get correct syscall number from syscall_get_nr()

From: Ron Economos
Date: Sun Oct 27 2024 - 20:18:07 EST


On 10/27/24 2:52 PM, Thomas Gleixner wrote:
On Mon, Oct 28 2024 at 01:01, Celeste Liu wrote:
On 2024-10-27 23:56, Thomas Gleixner wrote:
Equivalently you need to be able to modify orig_a0 for changing arg0,
no?
Ok.

Greg, could you accept a backport a new API parameter for
PTRACE_GETREGSET/PTRACE_SETREGSET to 4.19 LTS branch?
Fix the problem properly and put a proper Fixes tag on it and worry
about the backport later.

Thanks,

tglx

I wouldn't worry about backporting to the 4.19 kernel. It's essentially prehistoric for RISC-V. There's no device tree support for any hardware. Also, 4.19 will be going EOL very soon (December 2024).

Ron