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>
3 lines
47 B
C
3 lines
47 B
C
#define XLAT_RAW 1
|
|
#include "kernel_version.c"
|