diff options
author | Aleksandar Markovic <amarkovic@wavecomp.com> | 2019-09-04 14:59:22 +0200 |
---|---|---|
committer | Laurent Vivier <laurent@vivier.eu> | 2019-09-11 08:47:06 +0200 |
commit | 92c096f0aabc90380b82b5604e0ee73b38317e5c (patch) | |
tree | 906adf587effbcb3bb99865ea7fef210e3fd89da /linux-user/ioctls.h | |
parent | 1cc52740160e6b6762b1fafcd3a9fc0e498e45d0 (diff) |
linux-user: Add support for RNDRESEEDCRNG ioctl
RNDRESEEDCRNG is a newer ioctl (added in kernel 4.17), and an
"ifdef" guard is used for that reason in this patch.
Signed-off-by: Aleksandar Markovic <amarkovic@wavecomp.com>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Message-Id: <1567601968-26946-3-git-send-email-aleksandar.markovic@rt-rk.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'linux-user/ioctls.h')
-rw-r--r-- | linux-user/ioctls.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/linux-user/ioctls.h b/linux-user/ioctls.h index 3281c97ca2..cd9b6f9a8d 100644 --- a/linux-user/ioctls.h +++ b/linux-user/ioctls.h @@ -246,6 +246,9 @@ IOCTL(RNDADDTOENTCNT, IOC_W, MK_PTR(TYPE_INT)) IOCTL(RNDZAPENTCNT, 0, TYPE_NULL) IOCTL(RNDCLEARPOOL, 0, TYPE_NULL) +#ifdef RNDRESEEDCRNG + IOCTL(RNDRESEEDCRNG, 0, TYPE_NULL) +#endif IOCTL(CDROMPAUSE, 0, TYPE_NULL) IOCTL(CDROMSTART, 0, TYPE_NULL) |