riscv: ptrace: implement PTRACE_{PEEK,POKE}USR
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 3 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | riscv: ptrace: Implement PTRACE_{PEEK,POKE}USRarch/ | +66 | 0 replies | |
| 2/2 | riscv: ptrace: Implement Compat PTRACE_{PEEK,POKE}USRarch/ arch/ | +58 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH -next 0/2] riscv: ptrace: implement PTRACE_{PEEK,POKE}USR
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.
Yipeng Zou (2):
riscv: ptrace: Implement PTRACE_{PEEK,POKE}USR
riscv: ptrace: Implement Compat PTRACE_{PEEK,POKE}USR
arch/riscv/include/asm/compat.h | 13 ++++ arch/riscv/kernel/ptrace.c | 111 ++++++++++++++++++++++++++++++++ 2 files changed, 124 insertions(+)
Signature · 7 lines
2.17.1 _______________________________________________ linux-riscv mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-riscv