From d6d6d6fe17fa75fb83025ddb02b2c724ba0c1403 Mon Sep 17 00:00:00 2001 From: Marco A L Barbosa Date: Thu, 5 Oct 2017 10:55:30 -0300 Subject: linux-user: Add some random ioctls Signed-off-by: Marco A L Barbosa Reviewed-by: Laurent Vivier Signed-off-by: Michael Tokarev --- linux-user/syscall_defs.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'linux-user/syscall_defs.h') diff --git a/linux-user/syscall_defs.h b/linux-user/syscall_defs.h index 40c5027e93..b3d55e35ac 100644 --- a/linux-user/syscall_defs.h +++ b/linux-user/syscall_defs.h @@ -1060,6 +1060,13 @@ struct target_pollfd { #define TARGET_SIOCGIWNAME 0x8B01 /* get name == wireless protocol */ +/* From */ + +#define TARGET_RNDGETENTCNT TARGET_IOR('R', 0x00, int) +#define TARGET_RNDADDTOENTCNT TARGET_IOW('R', 0x01, int) +#define TARGET_RNDZAPENTCNT TARGET_IO('R', 0x04) +#define TARGET_RNDCLEARPOOL TARGET_IO('R', 0x06) + /* From */ #define TARGET_BLKROSET TARGET_IO(0x12,93) /* set device read-only (0 = read-write) */ -- cgit v1.2.3