crosvm/base
Shintaro Kawamura 77688e305d base: unix: add fork_process
The vmm-swap feature will fork a process to run monitoring userfaultfd.

crosvm uses minijail to fork device processes `ProxyDevice::new()`.

Minijail panics on fork if there are any other threads running. The test
must be executed in a single thread.

design document: go/tanooki-phase1-dd

BUG=b:215093219
TEST=cargo test -p base -- --test-threads=1

Change-Id: I408dbfa4d606cbe7b2218096b414512710d60100
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/3935683
Reviewed-by: David Stevens <stevensd@chromium.org>
2022-11-09 05:24:08 +00:00
..
base_event_token_derive Update all copyright headers to match new style 2022-09-13 18:41:29 +00:00
src base: unix: add fork_process 2022-11-09 05:24:08 +00:00
tests base: Move clone_equality test to integration test 2022-11-02 22:29:12 +00:00
.build_test_serial Refactoring: Move common/base into base 2022-03-17 00:01:27 +00:00
Cargo.toml base: unix: add fork_process 2022-11-09 05:24:08 +00:00