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:
789ff6a
)
add new PTRACE_SECCOMP_GET_FILTER ptrace command
author
Szabolcs Nagy
<nsz@port70.net>
Sun, 24 Jan 2016 04:48:20 +0000
(
04:48
+0000)
committer
Rich Felker
<dalias@aerifal.cx>
Tue, 26 Jan 2016 23:31:17 +0000
(18:31 -0500)
allows the tracer to dump the bpf seccomp filters of the tracee,
new in linux v4.4, commit
f8e529ed941ba2bbcbf310b575d968159ce7e895
include/sys/ptrace.h
patch
|
blob
|
history
diff --git
a/include/sys/ptrace.h
b/include/sys/ptrace.h
index bc385f8c9dd2f8e1c77f92c6c9c41ca4c6bce4b8..d9d4540874425ae92989fb7753ff90055d4a7090 100644
(file)
--- a/
include/sys/ptrace.h
+++ b/
include/sys/ptrace.h
@@
-39,6
+39,7
@@
extern "C" {
#define PTRACE_PEEKSIGINFO 0x4209
#define PTRACE_GETSIGMASK 0x420a
#define PTRACE_SETSIGMASK 0x420b
+#define PTRACE_SECCOMP_GET_FILTER 0x420c
#define PT_READ_I PTRACE_PEEKTEXT
#define PT_READ_D PTRACE_PEEKDATA