linux/arch/powerpc/kernel/ptrace
Oleg Nesterov 324a69467f powerpc/ptrace: Hard wire PT_SOFTE value to 1 in gpr_get() too
The commit a8a4b03ab9 ("powerpc: Hard wire PT_SOFTE value to 1 in
ptrace & signals") changed ptrace_get_reg(PT_SOFTE) to report 0x1,
but PTRACE_GETREGS still copies pt_regs->softe as is.

This is not consistent and this breaks the user-regs-peekpoke test
from https://sourceware.org/systemtap/wiki/utrace/tests/

Reported-by: Jan Kratochvil <jan.kratochvil@redhat.com>
Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20201119160247.GB5188@redhat.com
2020-11-26 22:05:42 +11:00
..
Makefile powerpc/64: make buildable without CONFIG_COMPAT 2020-04-03 00:10:00 +11:00
ptrace32.c powerpc/watchpoint: Convert thread_struct->hw_brk to an array 2020-05-19 00:11:05 +10:00
ptrace-adv.c powerpc/ptrace: create ppc_gethwdinfo() 2020-04-01 14:30:49 +11:00
ptrace-altivec.c powerpc: switch to ->regset_get() 2020-07-27 14:31:07 -04:00
ptrace-decl.h powerpc: switch to ->regset_get() 2020-07-27 14:31:07 -04:00
ptrace-noadv.c powerpc/watchpoint/ptrace: Introduce PPC_DEBUG_FEATURE_DATA_BP_ARCH_31 2020-09-15 22:13:20 +10:00
ptrace-novsx.c powerpc: switch to ->regset_get() 2020-07-27 14:31:07 -04:00
ptrace-spe.c powerpc: switch to ->regset_get() 2020-07-27 14:31:07 -04:00
ptrace-tm.c powerpc/ptrace: Hard wire PT_SOFTE value to 1 in gpr_get() too 2020-11-26 22:05:42 +11:00
ptrace-view.c powerpc/ptrace: Hard wire PT_SOFTE value to 1 in gpr_get() too 2020-11-26 22:05:42 +11:00
ptrace-vsx.c powerpc: switch to ->regset_get() 2020-07-27 14:31:07 -04:00
ptrace.c powerpc/ptrace: move ptrace_triggered() into hw_breakpoint.c 2020-04-01 14:30:49 +11:00