diff options
-rw-r--r-- | ChangeLog | 11 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h | 6 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/ia64/sys/ptrace.h | 6 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h | 6 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/s390/sys/ptrace.h | 6 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/sparc/sys/ptrace.h | 6 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/sys/ptrace.h | 6 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/tile/sys/ptrace.h | 6 |
8 files changed, 39 insertions, 14 deletions
diff --git a/ChangeLog b/ChangeLog index 4ea4c07afd..1f865e2fb5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,14 @@ +2017-02-08 Kir Kolyshkin <kir@openvz.org> + + * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_eventcodes): + Add PTRACE_EVENT_STOP. + * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise. + * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise. + * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise. + * sysdeps/unix/sysv/linux/sys/ptrace.h: Likewise. + * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise. + 2017-02-07 Joseph Myers <joseph@codesourcery.com> * math/test-math-finite.h (TEST_EXCEPTIONS): New macro. diff --git a/sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h b/sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h index 922346c452..c8ca9e398e 100644 --- a/sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h +++ b/sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h @@ -163,16 +163,18 @@ enum __ptrace_setoptions PTRACE_O_MASK = 0x003000ff }; -/* Wait extended result codes for the above trace options. */ enum __ptrace_eventcodes { +/* Wait extended result codes for the above trace options. */ PTRACE_EVENT_FORK = 1, PTRACE_EVENT_VFORK = 2, PTRACE_EVENT_CLONE = 3, PTRACE_EVENT_EXEC = 4, PTRACE_EVENT_VFORK_DONE = 5, PTRACE_EVENT_EXIT = 6, - PTRACE_EVENT_SECCOMP = 7 + PTRACE_EVENT_SECCOMP = 7, +/* Extended result codes enabled by means other than options. */ + PTRACE_EVENT_STOP = 128 }; /* Arguments for PTRACE_PEEKSIGINFO. */ diff --git a/sysdeps/unix/sysv/linux/ia64/sys/ptrace.h b/sysdeps/unix/sysv/linux/ia64/sys/ptrace.h index 47f1aaddb0..c77e6dc683 100644 --- a/sysdeps/unix/sysv/linux/ia64/sys/ptrace.h +++ b/sysdeps/unix/sysv/linux/ia64/sys/ptrace.h @@ -183,16 +183,18 @@ enum __ptrace_setoptions PTRACE_O_MASK = 0x003000ff }; -/* Wait extended result codes for the above trace options. */ enum __ptrace_eventcodes { +/* Wait extended result codes for the above trace options. */ PTRACE_EVENT_FORK = 1, PTRACE_EVENT_VFORK = 2, PTRACE_EVENT_CLONE = 3, PTRACE_EVENT_EXEC = 4, PTRACE_EVENT_VFORK_DONE = 5, PTRACE_EVENT_EXIT = 6, - PTRACE_EVENT_SECCOMP = 7 + PTRACE_EVENT_SECCOMP = 7, +/* Extended result codes enabled by means other than options. */ + PTRACE_EVENT_STOP = 128 }; /* Arguments for PTRACE_PEEKSIGINFO. */ diff --git a/sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h b/sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h index cf32fa310f..ed1ed63cca 100644 --- a/sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h +++ b/sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h @@ -155,16 +155,18 @@ enum __ptrace_setoptions PTRACE_O_MASK = 0x003000ff }; -/* Wait extended result codes for the above trace options. */ enum __ptrace_eventcodes { +/* Wait extended result codes for the above trace options. */ PTRACE_EVENT_FORK = 1, PTRACE_EVENT_VFORK = 2, PTRACE_EVENT_CLONE = 3, PTRACE_EVENT_EXEC = 4, PTRACE_EVENT_VFORK_DONE = 5, PTRACE_EVENT_EXIT = 6, - PTRACE_EVENT_SECCOMP = 7 + PTRACE_EVENT_SECCOMP = 7, +/* Extended result codes enabled by means other than options. */ + PTRACE_EVENT_STOP = 128 }; /* Arguments for PTRACE_PEEKSIGINFO. */ diff --git a/sysdeps/unix/sysv/linux/s390/sys/ptrace.h b/sysdeps/unix/sysv/linux/s390/sys/ptrace.h index 60e8cecd2f..7caf1015b2 100644 --- a/sysdeps/unix/sysv/linux/s390/sys/ptrace.h +++ b/sysdeps/unix/sysv/linux/s390/sys/ptrace.h @@ -194,16 +194,18 @@ enum __ptrace_setoptions PTRACE_O_MASK = 0x003000ff }; -/* Wait extended result codes for the above trace options. */ enum __ptrace_eventcodes { +/* Wait extended result codes for the above trace options. */ PTRACE_EVENT_FORK = 1, PTRACE_EVENT_VFORK = 2, PTRACE_EVENT_CLONE = 3, PTRACE_EVENT_EXEC = 4, PTRACE_EVENT_VFORK_DONE = 5, PTRACE_EVENT_EXIT = 6, - PTRACE_EVENT_SECCOMP = 7 + PTRACE_EVENT_SECCOMP = 7, +/* Extended result codes enabled by means other than options. */ + PTRACE_EVENT_STOP = 128 }; /* Arguments for PTRACE_PEEKSIGINFO. */ diff --git a/sysdeps/unix/sysv/linux/sparc/sys/ptrace.h b/sysdeps/unix/sysv/linux/sparc/sys/ptrace.h index 1c07f36d12..f60549427f 100644 --- a/sysdeps/unix/sysv/linux/sparc/sys/ptrace.h +++ b/sysdeps/unix/sysv/linux/sparc/sys/ptrace.h @@ -237,16 +237,18 @@ enum __ptrace_setoptions PTRACE_O_MASK = 0x003000ff }; -/* Wait extended result codes for the above trace options. */ enum __ptrace_eventcodes { +/* Wait extended result codes for the above trace options. */ PTRACE_EVENT_FORK = 1, PTRACE_EVENT_VFORK = 2, PTRACE_EVENT_CLONE = 3, PTRACE_EVENT_EXEC = 4, PTRACE_EVENT_VFORK_DONE = 5, PTRACE_EVENT_EXIT = 6, - PTRACE_EVENT_SECCOMP = 7 + PTRACE_EVENT_SECCOMP = 7, +/* Extended result codes enabled by means other than options. */ + PTRACE_EVENT_STOP = 128 }; /* Arguments for PTRACE_PEEKSIGINFO. */ diff --git a/sysdeps/unix/sysv/linux/sys/ptrace.h b/sysdeps/unix/sysv/linux/sys/ptrace.h index 6900eef46c..1daadd1950 100644 --- a/sysdeps/unix/sysv/linux/sys/ptrace.h +++ b/sysdeps/unix/sysv/linux/sys/ptrace.h @@ -185,16 +185,18 @@ enum __ptrace_setoptions PTRACE_O_MASK = 0x003000ff }; -/* Wait extended result codes for the above trace options. */ enum __ptrace_eventcodes { +/* Wait extended result codes for the above trace options. */ PTRACE_EVENT_FORK = 1, PTRACE_EVENT_VFORK = 2, PTRACE_EVENT_CLONE = 3, PTRACE_EVENT_EXEC = 4, PTRACE_EVENT_VFORK_DONE = 5, PTRACE_EVENT_EXIT = 6, - PTRACE_EVENT_SECCOMP = 7 + PTRACE_EVENT_SECCOMP = 7, +/* Extended result codes enabled by means other than options. */ + PTRACE_EVENT_STOP = 128 }; /* Arguments for PTRACE_PEEKSIGINFO. */ diff --git a/sysdeps/unix/sysv/linux/tile/sys/ptrace.h b/sysdeps/unix/sysv/linux/tile/sys/ptrace.h index a710ee9359..6287e42952 100644 --- a/sysdeps/unix/sysv/linux/tile/sys/ptrace.h +++ b/sysdeps/unix/sysv/linux/tile/sys/ptrace.h @@ -152,16 +152,18 @@ enum __ptrace_setoptions PTRACE_O_MASK = 0x003000ff }; -/* Wait extended result codes for the above trace options. */ enum __ptrace_eventcodes { +/* Wait extended result codes for the above trace options. */ PTRACE_EVENT_FORK = 1, PTRACE_EVENT_VFORK = 2, PTRACE_EVENT_CLONE = 3, PTRACE_EVENT_EXEC = 4, PTRACE_EVENT_VFORK_DONE = 5, PTRACE_EVENT_EXIT = 6, - PTRACE_EVENT_SECCOMP = 7 + PTRACE_EVENT_SECCOMP = 7, +/* Extended result codes enabled by means other than options. */ + PTRACE_EVENT_STOP = 128 }; /* Arguments for PTRACE_PEEKSIGINFO. */ |