Thread (14 messages) 14 messages, 4 authors, 2020-12-10

Re: [PATCH v3 0/2] powerpc/ptrace: Hard wire PT_SOFTE value to 1 in gpr_get() too

From: Christophe Leroy <hidden>
Date: 2020-11-19 17:20:27
Also in: lkml


Le 19/11/2020 à 17:01, Oleg Nesterov a écrit :
Can we finally fix this problem? ;)

My previous attempt was ignored, see
That doesn't seems right.

Michael made some suggestion it seems, can you respond to it ?
	https://lore.kernel.org/lkml/20190917121256.GA8659@redhat.com/ (local)

Now that gpr_get() was changed to use membuf API we can make a simpler fix.

Sorry, uncompiled/untested, I don't have a ppc machine.
I compiled with ppc64_defconfig, that seems ok. Still untested.

Christophe
Oleg.

  arch/powerpc/kernel/ptrace/ptrace-tm.c   | 21 ++++++++++++---------
  arch/powerpc/kernel/ptrace/ptrace-view.c | 21 ++++++++++++---------
  include/linux/regset.h                   | 12 ++++++++++++
  3 files changed, 36 insertions(+), 18 deletions(-)
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help