about summary refs log tree commit diff
path: root/nptl_db/td_thr_setsigpending.c
diff options
context:
space:
mode:
authorKir Kolyshkin <kir@openvz.org>2017-02-07 00:06:05 -0800
committerDmitry V. Levin <ldv@altlinux.org>2017-02-08 07:18:44 +0000
commit3f67d1a7021ed3184830511636a0867faec730fe (patch)
treeda31e6dd41d336bea2565b18ed19779232dcd0a3 /nptl_db/td_thr_setsigpending.c
parent12d6284c0e06fdc15da577b65374cd7df6809c84 (diff)
downloadglibc-3f67d1a7021ed3184830511636a0867faec730fe.tar.gz
glibc-3f67d1a7021ed3184830511636a0867faec730fe.tar.xz
glibc-3f67d1a7021ed3184830511636a0867faec730fe.zip
Add Linux PTRACE_EVENT_STOP
Add PTRACE_EVENT_STOP value to Linux's sys/ptrace.h, modify related
comments accordingly.

This constant initially appeared in Linux 3.1 (kernel commit 3544d72a,
"ptrace: implement PTRACE_SEIZE") but its value has changed later
in Linux 3.4 (kernel commit 5cdf389a, "ptrace: renumber
PTRACE_EVENT_STOP so that future new options and events can match").

The comment is also taken from the above commit.

This constant is used by e.g. strace, CRIU, Mozilla RR.

* 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.
Diffstat (limited to 'nptl_db/td_thr_setsigpending.c')
0 files changed, 0 insertions, 0 deletions