Implement decoding of open_tree syscall
authorDmitry V. Levin <ldv@altlinux.org>
Mon, 24 Jun 2019 16:57:01 +0000 (16:57 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Sat, 29 Jun 2019 17:38:25 +0000 (17:38 +0000)
commitc32610732350c4d39911b28510f21d116d49d6d8
tree4906a50d52accd7ef3d22ac7b6e870fb225faa4d
parent2d01529942acbfa1fc9a8a88578abddb353e2938
Implement decoding of open_tree syscall

... introduced by Linux kernel commits v5.2-rc1~141^2~9,
v5.2-rc1~20^2~1, and v5.2-rc1~20^2.

* configure.ac (AC_CHECK_HEADERS): Add linux/mount.h.
* open_tree.c: New file.
* Makefile.am (strace_SOURCES): Add it.
* pathtrace.c (pathtrace_match_set): Add SEN_open_tree.
* xlat/open_tree_flags.in: New file.
* linux/syscallent-common.h [BASE_NR + 428]: Wire up open_tree.
* NEWS: Mention this change.
* tests/open_tree.c: New file.
* tests/open_tree-P.c: Likewise.
* tests/gen_tests.in (open_tree, open_tree-P): New entries.
* tests/pure_executables.list: Add open_tree and open_tree-P.
* tests/.gitignore: Likewise.
12 files changed:
Makefile.am
NEWS
configure.ac
linux/syscallent-common.h
open_tree.c [new file with mode: 0644]
pathtrace.c
tests/.gitignore
tests/gen_tests.in
tests/open_tree-P.c [new file with mode: 0644]
tests/open_tree.c [new file with mode: 0644]
tests/pure_executables.list
xlat/open_tree_flags.in [new file with mode: 0644]