crosvm/common
Daniel Verkamp 11322f007d tree-wide: use LFS variants of libc functions
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>
2022-11-02 22:20:18 +00:00
..
audio_streams win_audio: Upstream Windows audio backend code 2022-11-02 21:07:37 +00:00
balloon_control Make common crates part of the crosvm workspace 2022-10-31 21:33:33 +00:00
cros-fuzz Make common crates part of the crosvm workspace 2022-10-31 21:33:33 +00:00
cros_asyncv2 base: replace internal PlatformEvent uses with Event 2022-11-01 20:59:29 +00:00
data_model Make common crates part of the crosvm workspace 2022-10-31 21:33:33 +00:00
p9 tree-wide: use LFS variants of libc functions 2022-11-02 22:20:18 +00:00
sync Make common crates part of the crosvm workspace 2022-10-31 21:33:33 +00:00
chromeos_warning.md Add version pin warning to common/ 2022-04-15 19:51:35 +00:00
README.md docs: Use mdformat to format markdown files 2022-01-27 21:29:11 +00:00

Crosvm General Purpose Libraries

The crates in this folder are general purpose libraries used by other projects in ChromeOS as well.

To make them accessible independendly of crosvm, each of these crates is excluded from the crosvm workspace.

List of libraries

  • cros-fuzz: Support crate for fuzzing rust code in ChromeOS
  • p9: Server implementation of the 9p file system protocol