diff options
author | Filip Bozuta <Filip.Bozuta@rt-rk.com> | 2020-01-15 20:36:47 +0100 |
---|---|---|
committer | Laurent Vivier <laurent@vivier.eu> | 2020-01-22 15:17:28 +0100 |
commit | c858e537a9eb2e2b788ec323125462ea0991bd93 (patch) | |
tree | 1fff4a3681991e06a81c703cf47a53e12e0c1f7f /linux-user/ioctls.h | |
parent | f7dbd8fe5665a1161b5f8af3e2d2044f3bd349d2 (diff) | |
download | qemu-c858e537a9eb2e2b788ec323125462ea0991bd93.zip |
linux-user: Add support for TYPE_LONG and TYPE_ULONG in do_ioctl()
Function "do_ioctl()" located in file "syscall.c" was missing
an option for TYPE_LONG and TYPE_ULONG. This caused some ioctls
to not be recognised because they had the third argument that was
of type 'long' or 'unsigned long'.
For example:
Since implemented ioctls RTC_IRQP_SET and RTC_EPOCH_SET
are of type IOW(writing type) that have unsigned long as
their third argument, they were not recognised in QEMU
before the changes of this patch.
Signed-off-by: Filip Bozuta <Filip.Bozuta@rt-rk.com>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Message-Id: <1579117007-7565-14-git-send-email-Filip.Bozuta@rt-rk.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'linux-user/ioctls.h')
0 files changed, 0 insertions, 0 deletions