2649c8c8b6
* 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>
8 lines
251 B
Plaintext
8 lines
251 B
Plaintext
RNDGETENTCNT _IOR( 'R', 0x00, int )
|
|
RNDADDTOENTCNT _IOW( 'R', 0x01, int )
|
|
RNDGETPOOL _IOR( 'R', 0x02, int [2] )
|
|
RNDADDENTROPY _IOW( 'R', 0x03, int [2] )
|
|
RNDZAPENTCNT _IO( 'R', 0x04 )
|
|
RNDCLEARPOOL _IO( 'R', 0x06 )
|
|
RNDRESEEDCRNG _IO( 'R', 0x07 )
|