mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2025-02-09 03:57:24 +00:00
Use the off64_t versions of libc file functions. There is no Rust libc crate equivalent of the C _FILE_OFFSET_BITS and related defines, so we have to use the Linux-specific *64 variants explicitly. This extends the size of file offsets to 64 bits instead of 32 on platforms with 32-bit userspace. (It also fixes the recently introduced check for non-LFS functions in ChromeOS - see b/201531268 for details.) BUG=b:201531268 TEST=emerge-kevin crosvm TEST=start Crostini on kevin Change-Id: Ife42917c8896d4fa1ccd78051c2a0b7dd565b2b3 Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/3979975 Reviewed-by: Dennis Kempin <denniskempin@google.com> Reviewed-by: Keiichi Watanabe <keiichiw@chromium.org> Commit-Queue: Daniel Verkamp <dverkamp@chromium.org> |
||
---|---|---|
.. | ||
src | ||
tests | ||
bindgen.sh | ||
Cargo.toml |