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/syscall_defs.h | |
parent | 1cc52740160e6b6762b1fafcd3a9fc0e498e45d0 (diff) | |
download | qemu-92c096f0aabc90380b82b5604e0ee73b38317e5c.zip qemu-92c096f0aabc90380b82b5604e0ee73b38317e5c.tar.gz qemu-92c096f0aabc90380b82b5604e0ee73b38317e5c.tar.bz2 |
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/syscall_defs.h')
-rw-r--r-- | linux-user/syscall_defs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/linux-user/syscall_defs.h b/linux-user/syscall_defs.h index 0662270..19a1d39 100644 --- a/linux-user/syscall_defs.h +++ b/linux-user/syscall_defs.h @@ -850,6 +850,7 @@ struct target_pollfd { #define TARGET_RNDADDTOENTCNT TARGET_IOW('R', 0x01, int) #define TARGET_RNDZAPENTCNT TARGET_IO('R', 0x04) #define TARGET_RNDCLEARPOOL TARGET_IO('R', 0x06) +#define TARGET_RNDRESEEDCRNG TARGET_IO('R', 0x07) /* From <linux/fs.h> */ |