about summary refs log tree commit diff
path: root/include
diff options
context:
space:
mode:
authorSzabolcs Nagy <nsz@port70.net>2018-07-08 15:15:06 +0200
committerRich Felker <dalias@aerifal.cx>2018-07-17 22:24:15 -0400
commit7ea32a8282b743bb1637b9e1da5f76dcd472a704 (patch)
treea5a4fd8b79f84643ddf3fda68f4706108f2470ff /include
parentcbf16c4abf63e47c2e8b34faac8a2a74a64973b5 (diff)
downloadmusl-7ea32a8282b743bb1637b9e1da5f76dcd472a704.tar.gz
musl-7ea32a8282b743bb1637b9e1da5f76dcd472a704.tar.xz
musl-7ea32a8282b743bb1637b9e1da5f76dcd472a704.zip
sys/ptrace.h: add missing PTRACE_EVENT_STOP
new in linux v3.1 commit 3544d72a0e10d0aa1c1bd59ed77a53a59cdc12f7
changed in linux v3.4 commit 5cdf389aee90109e2e3d88085dea4dd5508a3be7

A tracer recieves this event in the waitpid status of a PTRACED_SEIZED
process.
Diffstat (limited to 'include')
-rw-r--r--include/sys/ptrace.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sys/ptrace.h b/include/sys/ptrace.h
index f501ff08..114185fd 100644
--- a/include/sys/ptrace.h
+++ b/include/sys/ptrace.h
@@ -84,6 +84,7 @@ extern "C" {
 #define PTRACE_EVENT_VFORK_DONE 5
 #define PTRACE_EVENT_EXIT 6
 #define PTRACE_EVENT_SECCOMP 7
+#define PTRACE_EVENT_STOP 128
 
 #define PTRACE_PEEKSIGINFO_SHARED 1