Dmitry V. Levin
ddb53dd142
* bpf.c: New file. * Makefile.am (strace_SOURCES): Add it. * configure.ac (AC_CHECK_HEADERS): Add linux/bpf.h. * linux/dummy.h (sys_bpf): Remove. * pathtrace.c (pathtrace_match): Add SEN_bpf. * xlat/bpf_commands.in: New file. * xlat/bpf_map_types.in: New file. * xlat/bpf_map_update_elem_flags.in: New file. * xlat/bpf_prog_types.in: New file. * tests/bpf.c: New file. * tests/bpf.test: New test. * tests/Makefile.am (check_PROGRAMS): Add bpf. (TESTS): Add bpf.test. * tests/.gitignore: Add bpf.
4 lines
36 B
Plaintext
4 lines
36 B
Plaintext
BPF_ANY 0
|
|
BPF_NOEXIST 1
|
|
BPF_EXIST 2
|