diff options
author | Marco A L Barbosa <malbarbo@gmail.com> | 2017-10-05 10:55:30 -0300 |
---|---|---|
committer | Michael Tokarev <mjt@tls.msk.ru> | 2017-10-16 21:00:04 +0300 |
commit | d6d6d6fe17fa75fb83025ddb02b2c724ba0c1403 (patch) | |
tree | 2fd5a8c77e28a3834a80b8d49578ff070c38f667 /linux-user/ioctls.h | |
parent | f3245d63a0df51184fdf12f483436329ef322d35 (diff) |
linux-user: Add some random ioctls
Signed-off-by: Marco A L Barbosa <malbarbo@gmail.com>
Reviewed-by: Laurent Vivier <lvivier@redhat.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'linux-user/ioctls.h')
-rw-r--r-- | linux-user/ioctls.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/linux-user/ioctls.h b/linux-user/ioctls.h index e6997ff230..35cad6f944 100644 --- a/linux-user/ioctls.h +++ b/linux-user/ioctls.h @@ -173,6 +173,11 @@ IOCTL(SIOCGSTAMP, IOC_R, MK_PTR(MK_STRUCT(STRUCT_timeval))) IOCTL(SIOCGSTAMPNS, IOC_R, MK_PTR(MK_STRUCT(STRUCT_timespec))) + IOCTL(RNDGETENTCNT, IOC_R, MK_PTR(TYPE_INT)) + IOCTL(RNDADDTOENTCNT, IOC_W, MK_PTR(TYPE_INT)) + IOCTL(RNDZAPENTCNT, 0, TYPE_NULL) + IOCTL(RNDCLEARPOOL, 0, TYPE_NULL) + IOCTL(CDROMPAUSE, 0, TYPE_NULL) IOCTL(CDROMSTART, 0, TYPE_NULL) IOCTL(CDROMSTOP, 0, TYPE_NULL) |