summaryrefslogtreecommitdiffstats
path: root/linux-user/sparc64/target_syscall.h
diff options
context:
space:
mode:
authorLaurent Vivier2018-05-10 01:11:21 +0200
committerLaurent Vivier2018-05-11 19:05:19 +0200
commitae68ad9fee4e51eae26e34b43a9e6999bd1c6819 (patch)
tree6126eed6547bb2bd31314a89e52f11251f929b03 /linux-user/sparc64/target_syscall.h
parentlinux-user: update sparc/syscall_nr.h to linux header 4.16 (diff)
downloadqemu-ae68ad9fee4e51eae26e34b43a9e6999bd1c6819.tar.gz
qemu-ae68ad9fee4e51eae26e34b43a9e6999bd1c6819.tar.xz
qemu-ae68ad9fee4e51eae26e34b43a9e6999bd1c6819.zip
linux-user: fix conversion of flock/flock64 l_type field
As l_type values (F_RDLCK, F_WRLCK, F_UNLCK, F_EXLCK, F_SHLCK) are not bitmasks, we can't use target_to_host_bitmask() and host_to_target_bitmask() to convert them. Introduce target_to_host_flock() and host_to_target_flock() to convert values between host and target. Signed-off-by: Laurent Vivier <laurent@vivier.eu> Reviewed-by: Max Filippov <jcmvbkbc@gmail.com> Message-Id: <20180509231123.20864-5-laurent@vivier.eu>
Diffstat (limited to 'linux-user/sparc64/target_syscall.h')
0 files changed, 0 insertions, 0 deletions