summary refs log tree commit diff stats
path: root/tests/functional/qemu_test/utils.py
diff options
context:
space:
mode:
authorMichael Tokarev <mjt@tls.msk.ru>2024-08-29 09:59:51 +0300
committerMichael Tokarev <mjt@tls.msk.ru>2024-09-20 08:06:56 +0300
commit99174ce39e86ec6aea7bb7ce326b16e3eed9e3da (patch)
treed6469a57a897852c6da29606b09add24279a3c8d /tests/functional/qemu_test/utils.py
parentac1bbe8ca46c550b3ad99c85744119a3ace7b4f4 (diff)
downloadfocaccia-qemu-99174ce39e86ec6aea7bb7ce326b16e3eed9e3da.tar.gz
focaccia-qemu-99174ce39e86ec6aea7bb7ce326b16e3eed9e3da.zip
linux-user/syscall.c: eliminate other explicit LFS usages
Since we alwasy build with LFS enabled, and with -D_FILE_OFFSET_BITS=64
in particular, there is no need to use 64bit versions of various system
calls and constants, regular ones will do just fine.  Eliminate a few
last uses of the following constructs in linux-user/syscall.c:
  off64_t
  ftruncate64()
  lseek64()
  pread64()
  pwrite64()

This way it can be built on systems where the 64bit variants of
everything is not defined (since the system always uses 64bit
variants), such as on recent MUSL.

Resolves: https://gitlab.com/qemu-project/qemu/-/issues/2215
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'tests/functional/qemu_test/utils.py')
0 files changed, 0 insertions, 0 deletions