]> granicus.if.org Git - strace/commit
Add support for /dev/watchdog ioctls
authorRasmus Villemoes <rasmus.villemoes@prevas.dk>
Wed, 21 Aug 2019 11:35:23 +0000 (11:35 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Fri, 23 Aug 2019 17:05:51 +0000 (17:05 +0000)
commit1782a29184d58b0014e8fd412b071bc655d5929d
treef8ad4ff0e9807bb776cc7b1b2862ed9c7a976de0
parentcd3ca5d2caa5b9eda77df62418852e6b938e2a5a
Add support for /dev/watchdog ioctls

* watchdog_ioctl.c: New file.
* Makefile.am (strace_SOURCES): Add it.
* defs.h (DECL_IOCTL): Add watchdog.
* ioctl.c (ioctl_decode): Add 'W' case.
* xlat/watchdog_ioctl_cmds.in: New file.
* tests/ioctl_watchdog.c: New file.
* tests/.gitignore: Add ioctl_watchdog.
* tests/pure_executables.list: Likewise.
* tests/gen_tests.in (ioctl_watchdog): New entry.

Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk>
Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
Makefile.am
defs.h
ioctl.c
tests/.gitignore
tests/gen_tests.in
tests/ioctl_watchdog.c [new file with mode: 0644]
tests/pure_executables.list
watchdog_ioctl.c [new file with mode: 0644]
xlat/watchdog_ioctl_cmds.in [new file with mode: 0644]