Skip to content

riscv: ptrace: implement PTRACE_{PEEK,POKE}USR

Yipeng Zou linux-riscv 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2riscv: ptrace: Implement PTRACE_{PEEK,POKE}USRarch/riscv/kernel/ptrace.c+66 -00 replies
2/2riscv: ptrace: Implement Compat PTRACE_{PEEK,POKE}USRarch/riscv/include/asm/compat.h arch/riscv/kernel/ptrace.c+58 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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