bf195a8455
* print_kernel_version.c: New file. * Makefile.am (strace_SOURCES): Add it. * defs.h (print_kernel_version): New prototype. * bpf.c (BEGIN_BPF_CMD_DECODER(BPF_PROG_LOAD)): Use print_kernel_version. * tests/kernel_version.c: New file. * tests/kernel_version-Xabbrev.c: Likewise. * tests/kernel_version-Xraw.c: Likewise. * tests/kernel_version-Xverbose.c: Likewise. * tests/gen_tests.in (kernel_version, kernel_version-Xabbrev, kernel_version-Xraw, kernel_version-Xverbose): New tests. * tests/pure_executables.list: Add kernel_version, kernel_version-Xabbrev, kernel_version-Xraw, and kernel_version-Xverbose. * tests/.gitignore: Likewise. Co-Authored-by: Dmitry V. Levin <ldv@altlinux.org>
2 lines
28 B
C
2 lines
28 B
C
#include "kernel_version.c"
|