add new PTRACE_SECCOMP_GET_FILTER ptrace command

allows the tracer to dump the bpf seccomp filters of the tracee,
new in linux v4.4, commit f8e529ed941ba2bbcbf310b575d968159ce7e895
This commit is contained in:
Szabolcs Nagy authored and Rich Felker committed 2016-01-26 18:31:17 -05:00
1 parent 789ff6a9f8
commit c243d6f095
1 file changed
+1
+1
View File
@@ -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