about summary refs log tree commit diff
diff options
context:
space:
mode:
authorBrooks Moses <bmoses@google.com>2014-04-29 18:30:32 -0700
committerBrooks Moses <bmoses@google.com>2014-04-29 18:30:32 -0700
commite5e5c541b57a1d3d9252d9afc3d80e7e430ceb18 (patch)
treef28003f16b272bee35eddf65dba8b0a7e54d8952
parent1ecb690ee61b079cb89c53fa860eb5649aba4d70 (diff)
downloadglibc-e5e5c541b57a1d3d9252d9afc3d80e7e430ceb18.tar.gz
glibc-e5e5c541b57a1d3d9252d9afc3d80e7e430ceb18.tar.xz
glibc-e5e5c541b57a1d3d9252d9afc3d80e7e430ceb18.zip
Add PTRACE_EVENT_STOP, as per b/13432624.
-rw-r--r--README.google4
-rw-r--r--sysdeps/unix/sysv/linux/sys/ptrace.h3
2 files changed, 6 insertions, 1 deletions
diff --git a/README.google b/README.google
index 39313f0836..73fb156672 100644
--- a/README.google
+++ b/README.google
@@ -300,3 +300,7 @@ sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S
   https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=4facea473059914983b7da8dd654c06b8e3dcc41
   https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=dd3946c615184e1957a0cb09352cac72be5d6d5b
   (bmoses, already upstream)
+
+sysdeps/unix/sysv/linux/sys/ptrace.h
+  For b/13432624, add PTRACE_EVENT_STOP to __ptrace_eventcodes enum.
+  (bmoses, not yet upstream)
diff --git a/sysdeps/unix/sysv/linux/sys/ptrace.h b/sysdeps/unix/sysv/linux/sys/ptrace.h
index e800562e81..c931fd3d2f 100644
--- a/sysdeps/unix/sysv/linux/sys/ptrace.h
+++ b/sysdeps/unix/sysv/linux/sys/ptrace.h
@@ -184,7 +184,8 @@ enum __ptrace_eventcodes
   PTRACE_EVENT_EXEC	= 4,
   PTRACE_EVENT_VFORK_DONE = 5,
   PTRACE_EVENT_EXIT	= 6,
-  PTRACE_EVENT_SECCOMP  = 7
+  PTRACE_EVENT_SECCOMP  = 7,
+  PTRACE_EVENT_STOP     = 128
 };
 
 /* Arguments for PTRACE_PEEKSIGINFO.  */