projects
/
oweals
/
musl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2607e39
)
ptrace.h: add new ptrace requests to get/set sigmask
author
Szabolcs Nagy
<nsz@port70.net>
Sun, 15 Sep 2013 02:49:26 +0000
(
02:49
+0000)
committer
Szabolcs Nagy
<nsz@port70.net>
Sun, 15 Sep 2013 02:49:26 +0000
(
02:49
+0000)
PTRACE_GETSIGMASK and PTRACE_SETSIGMASK were added in linux v3.11
and used by checkpoint/restore tools
include/sys/ptrace.h
patch
|
blob
|
history
diff --git
a/include/sys/ptrace.h
b/include/sys/ptrace.h
index 6cd3afddc1e10099e22752f8278277dbbadd3209..a133e66a1764441b217bf20f8233926967daa9e3 100644
(file)
--- 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