s390x: add ptrace requests from linux v5.12
authorSzabolcs Nagy <nsz@port70.net>
Tue, 25 May 2021 21:16:43 +0000 (21:16 +0000)
committerRich Felker <dalias@aerifal.cx>
Tue, 8 Mar 2022 22:19:52 +0000 (17:19 -0500)
PTRACE_OLDSETOPTIONS is old, but it was missing, PTRACE_SYSEMU and
PTRACE_SYSEMU_SINGLESTEP are new, see

  linux commit 56e62a73702836017564eaacd5212e4d0fa1c01d
  s390: convert to generic entry

arch/s390x/bits/ptrace.h

index d50e326..a06cb07 100644 (file)
@@ -1,4 +1,7 @@
 #define PTRACE_SINGLEBLOCK             12
+#define PTRACE_OLDSETOPTIONS           21
+#define PTRACE_SYSEMU                  31
+#define PTRACE_SYSEMU_SINGLESTEP       32
 #define PTRACE_PEEKUSR_AREA            0x5000
 #define PTRACE_POKEUSR_AREA            0x5001
 #define PTRACE_GET_LAST_BREAK          0x5006