mailing list of musl libc
 help / color / mirror / code / Atom feed
* [PATCH] sys/ptrace.h: add missing PTRACE_EVENT_STOP
@ 2018-07-08 13:15 Szabolcs Nagy
  0 siblings, 0 replies; only message in thread
From: Szabolcs Nagy @ 2018-07-08 13:15 UTC (permalink / raw)
  To: musl

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.
---
 include/sys/ptrace.h | 1 +
 1 file changed, 1 insertion(+)

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
 
-- 
2.16.3


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2018-07-08 13:15 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-07-08 13:15 [PATCH] sys/ptrace.h: add missing PTRACE_EVENT_STOP Szabolcs Nagy

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).