strace/seccomp_fprog.h
Dmitry V. Levin 7a12974e95 Convert parser of seccomp filter program to new mpers infrastructure
* seccomp_fprog.h: New file.
* fetch_seccomp_fprog.c: New file.
* Makefile.am (strace_SOURCES): Add them.
* seccomp.c: Include "seccomp_fprog.h".
(print_seccomp_filter): Use fetch_seccomp_fprog.
2015-09-20 00:02:26 +00:00

5 lines
70 B
C

struct seccomp_fprog {
unsigned short len;
unsigned long filter;
};