[PATCH] Add support for /dev/watchdog ioctls
Dmitry V. Levin
ldv at altlinux.org
Mon Aug 26 15:13:50 UTC 2019
On Wed, Aug 21, 2019 at 11:35:23AM +0000, Rasmus Villemoes wrote:
> * 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 at prevas.dk>
> ---
> Makefile.am | 1 +
> defs.h | 1 +
> ioctl.c | 2 ++
> tests/.gitignore | 1 +
> tests/gen_tests.in | 1 +
> tests/ioctl_watchdog.c | 57 +++++++++++++++++++++++++++++++++++++
> tests/pure_executables.list | 1 +
> watchdog_ioctl.c | 47 ++++++++++++++++++++++++++++++
> xlat/watchdog_ioctl_cmds.in | 10 +++++++
> 9 files changed, 121 insertions(+)
> create mode 100644 tests/ioctl_watchdog.c
> create mode 100644 watchdog_ioctl.c
> create mode 100644 xlat/watchdog_ioctl_cmds.in
Applied, thanks!
--
ldv
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20190826/24200f82/attachment.bin>
More information about the Strace-devel
mailing list