]> granicus.if.org Git - strace/commit
Implement decoding of NS_* ioctl commands
authorNikolay Marchuk <marchuk.nikolay.a@gmail.com>
Thu, 13 Apr 2017 15:10:11 +0000 (22:10 +0700)
committerDmitry V. Levin <ldv@altlinux.org>
Thu, 13 Apr 2017 15:46:49 +0000 (15:46 +0000)
commit2afd57decbd1d25d05eec6f3465543f9a10ece13
treec1f7a4dd34991d340c03fcfe2c380dca2278f22a
parent0a3bb911c75699c8ec54f9b495fe97fea1d5777f
Implement decoding of NS_* ioctl commands

* configure.ac (AC_CHECK_HEADERS): Add linux/nsfs.h.
* defs.h (DECL_IOCTL(nsfs)): New prototype.
(setns_types): Make global.
* ioctl.c (ioctl_decode): Call nsfs_ioctl for 0xb7 code.
* nsfs.c: New file.
* nsfs.h: Likewise.
* Makefile.am (strace_SOURCES): Add them.
* tests/ioctl_nsfs.c: New file.
* tests/ioctl_nsfs.test: Likewise.
* tests/.gitignore: Add ioctl_nsfs.
* tests/Makefile.am (check_PROGRAMS): Likewise.
(DECODER_TESTS): Add ioctl_nsfs.test.
* NEWS: Mention this change.
Makefile.am
NEWS
configure.ac
defs.h
ioctl.c
nsfs.c [new file with mode: 0644]
nsfs.h [new file with mode: 0644]
tests/.gitignore
tests/Makefile.am
tests/ioctl_nsfs.c [new file with mode: 0644]
tests/ioctl_nsfs.test [new file with mode: 0755]