[PATCH -next 0/2] riscv: ptrace: implement PTRACE_{PEEK,POKE}USR
Andreas Schwab
schwab at suse.de
Mon Aug 22 01:19:03 PDT 2022
On Aug 22 2022, Yipeng Zou wrote:
> The PTRACE_{PEEK,POKE}USR going to get/set tracee's user register.
> This patch sets add PTRACE_{PEEK,POKE}USR and compat implement to
> riscv.
>
> I notice this issuse when transplanting some app form x86 to riscv
> recently.
> I don't know why these two function are not implemented now, and I
> found few talk about that.
>
> The {PEEK,POKE}USR are both defined in include\uapi\linux\ptrace.h,
> So I was thinking maybe these two function shouled be implemented.
There are PTRACE_[GS]ETREGSET. I think PTRACE_{PEEK,POKE}USR are
legacy-only.
--
Andreas Schwab, SUSE Labs, schwab at suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."
More information about the linux-riscv
mailing list