about summary refs log tree commit diff
path: root/arch
diff options
context:
space:
mode:
authorSzabolcs Nagy <nsz@port70.net>2021-05-25 21:16:43 +0000
committerRich Felker <dalias@aerifal.cx>2022-03-08 17:19:52 -0500
commit9ffd145479c53b5eb0940dc6c3d09c060d7f3273 (patch)
tree7727484bb976fb490381b649e28af398b6dbefbe /arch
parentf7d3db5bfc4c3b2315dd8c3137f0f332e1c6896a (diff)
downloadmusl-9ffd145479c53b5eb0940dc6c3d09c060d7f3273.tar.gz
musl-9ffd145479c53b5eb0940dc6c3d09c060d7f3273.tar.xz
musl-9ffd145479c53b5eb0940dc6c3d09c060d7f3273.zip
s390x: add ptrace requests from linux v5.12
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
Diffstat (limited to 'arch')
-rw-r--r--arch/s390x/bits/ptrace.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/s390x/bits/ptrace.h b/arch/s390x/bits/ptrace.h
index d50e3262..a06cb077 100644
--- a/arch/s390x/bits/ptrace.h
+++ b/arch/s390x/bits/ptrace.h
@@ -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