]> git.ipfire.org Git - thirdparty/qemu.git/commit
linux-user: Add support for FS_IOC_<GET|SET>VERSION ioctls
authorAleksandar Markovic <amarkovic@wavecomp.com>
Thu, 16 Jan 2020 22:49:40 +0000 (23:49 +0100)
committerLaurent Vivier <laurent@vivier.eu>
Wed, 22 Jan 2020 14:04:09 +0000 (15:04 +0100)
commit5ae774a91f9a4b33996b62c18b16063edcf3b0b0
tree1c088044aef942eb3fa929103db374e644ef6a82
parent6fd5944980f4ccee728ce34bdaffc117db50b34d
linux-user: Add support for FS_IOC_<GET|SET>VERSION ioctls

A very specific thing for these two ioctls is that their code
implies that their third argument is of type 'long', but the
kernel uses that argument as if it is of type 'int'. This anomaly
is recognized also in commit 6080723 (linux-user: Implement
FS_IOC_GETFLAGS and FS_IOC_SETFLAGS ioctls).

Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Signed-off-by: Aleksandar Markovic <amarkovic@wavecomp.com>
Message-Id: <1579214991-19602-2-git-send-email-aleksandar.markovic@rt-rk.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
linux-user/ioctls.h
linux-user/syscall_defs.h