From a86c4724c08a2dc52bab79a2da59292a6cf7ff33 Mon Sep 17 00:00:00 2001 From: Szabolcs Nagy Date: Sun, 24 Feb 2019 17:54:33 +0000 Subject: [PATCH] powerpc: add PTRACE_SYSEMU from linux v4.20 added in linux commit 5521eb4bca2db733952f068c37bdf3cd656ad23c --- arch/powerpc/bits/ptrace.h | 2 ++ arch/powerpc64/bits/ptrace.h | 2 ++ 2 files changed, 4 insertions(+) diff --git a/arch/powerpc/bits/ptrace.h b/arch/powerpc/bits/ptrace.h index 75086ca0..303a0735 100644 --- a/arch/powerpc/bits/ptrace.h +++ b/arch/powerpc/bits/ptrace.h @@ -8,6 +8,8 @@ #define PTRACE_SET_DEBUGREG 0x1a #define PTRACE_GETVSRREGS 0x1b #define PTRACE_SETVSRREGS 0x1c +#define PTRACE_SYSEMU 0x1d +#define PTRACE_SYSEMU_SINGLESTEP 0x1e #define PTRACE_SINGLEBLOCK 0x100 #define PT_GETVRREGS PTRACE_GETVRREGS diff --git a/arch/powerpc64/bits/ptrace.h b/arch/powerpc64/bits/ptrace.h index 75086ca0..303a0735 100644 --- a/arch/powerpc64/bits/ptrace.h +++ b/arch/powerpc64/bits/ptrace.h @@ -8,6 +8,8 @@ #define PTRACE_SET_DEBUGREG 0x1a #define PTRACE_GETVSRREGS 0x1b #define PTRACE_SETVSRREGS 0x1c +#define PTRACE_SYSEMU 0x1d +#define PTRACE_SYSEMU_SINGLESTEP 0x1e #define PTRACE_SINGLEBLOCK 0x100 #define PT_GETVRREGS PTRACE_GETVRREGS