summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSzabolcs Nagy <nsz@port70.net>2013-09-15 02:49:26 +0000
committerSzabolcs Nagy <nsz@port70.net>2013-09-15 02:49:26 +0000
commit0a7ecf760626aead6b396fec1664a13f57f63413 (patch)
treeb7a44f1579aaf2a9228b10bf2c21ffe06e25331e /include
parent2607e39a04b50b8072227db1e08542d6659b927f (diff)
downloadmusl-0a7ecf760626aead6b396fec1664a13f57f63413.tar.gz
musl-0a7ecf760626aead6b396fec1664a13f57f63413.tar.bz2
musl-0a7ecf760626aead6b396fec1664a13f57f63413.tar.xz
musl-0a7ecf760626aead6b396fec1664a13f57f63413.zip
ptrace.h: add new ptrace requests to get/set sigmask
PTRACE_GETSIGMASK and PTRACE_SETSIGMASK were added in linux v3.11 and used by checkpoint/restore tools
Diffstat (limited to 'include')
-rw-r--r--include/sys/ptrace.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sys/ptrace.h b/include/sys/ptrace.h
index 6cd3afdd..a133e66a 100644
--- a/include/sys/ptrace.h
+++ b/include/sys/ptrace.h
@@ -37,6 +37,8 @@ extern "C" {
#define PTRACE_INTERRUPT 0x4207
#define PTRACE_LISTEN 0x4208
#define PTRACE_PEEKSIGINFO 0x4209
+#define PTRACE_GETSIGMASK 0x420a
+#define PTRACE_SETSIGMASK 0x420b
#define PT_READ_I PTRACE_PEEKTEXT
#define PT_READ_D PTRACE_PEEKDATA