summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSzabolcs Nagy <nsz@port70.net>2016-01-24 04:48:20 +0000
committerRich Felker <dalias@aerifal.cx>2016-01-26 18:31:17 -0500
commitc243d6f09570010a448789dd296b14b7a61cb2ea (patch)
treefb9cd9b3252be444add3306002adb428960e64f4 /include
parent789ff6a9f8ec91729cde7fdcb0568d5d928eeba5 (diff)
downloadmusl-c243d6f09570010a448789dd296b14b7a61cb2ea.tar.gz
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
Diffstat (limited to 'include')
-rw-r--r--include/sys/ptrace.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sys/ptrace.h b/include/sys/ptrace.h
index bc385f8c..d9d45408 100644
--- 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