]> granicus.if.org Git - strace/commit
Add support for /dev/[u]random ioctls
authorRasmus Villemoes <rasmus.villemoes@prevas.dk>
Mon, 5 Nov 2018 17:29:00 +0000 (17:29 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Mon, 5 Nov 2018 17:40:36 +0000 (17:40 +0000)
commit2649c8c8b6832f267fb20cbcfdead19d32b8f2fc
tree4ea3136718c06fc421daed63ad2b6b3ea59d8e8b
parente2d2dc699f601283ff8a1117280f6161f93cc283
Add support for /dev/[u]random ioctls

* random_ioctl.c: New file.
* Makefile.am (strace_SOURCES): Add it.
* defs.h (DECL_IOCTL): Add random.
* ioctl.c (ioctl_decode): Add 'R' case.
* xlat/random_ioctl_cmds.in: New file.
* tests/ioctl_random.c: New file.
* tests/.gitignore: Add ioctl_random.
* tests/pure_executables.list: Likewise.
* tests/gen_tests.in (ioctl_random): New entry.

Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk>
Makefile.am
defs.h
ioctl.c
random_ioctl.c [new file with mode: 0644]
tests/.gitignore
tests/gen_tests.in
tests/ioctl_random.c [new file with mode: 0644]
tests/pure_executables.list
xlat/random_ioctl_cmds.in [new file with mode: 0644]