crosvm/tools
Shintaro Kawamura 741c7cceeb Reland "base: unix: add fork_process"
This is a reland of commit 77688e305d

Tests are ignored on some architectures due to the single thread test
issues b/258371694

Original change's description:
> 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>

Bug: b:215093219
Change-Id: I94b912b04947cada3e3332861f18988873dfcf81
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4015626
Reviewed-by: David Stevens <stevensd@chromium.org>
Commit-Queue: David Stevens <stevensd@chromium.org>
Auto-Submit: Shin Kawamura <kawasin@google.com>
2022-11-09 11:06:39 +00:00
..
audio_streams_conformance_test Update all copyright headers to match new style 2022-09-13 18:41:29 +00:00
chromeos handle new CV run ended message 2022-09-23 16:58:44 +00:00
contrib Make common crates part of the crosvm workspace 2022-10-31 21:33:33 +00:00
examples Update all copyright headers to match new style 2022-09-13 18:41:29 +00:00
impl Reland "base: unix: add fork_process" 2022-11-09 11:06:39 +00:00
tests tools/cl upload: Add a few convenience flags 2022-11-02 20:20:47 +00:00
windows tree-wide: use "crosvm" capitalization everywhere 2022-10-07 01:10:12 +00:00
.vpython3 infra: Small process improvements 2022-05-27 20:59:12 +00:00
aarch64vm Update copyright header check to cover all files 2022-09-13 18:41:29 +00:00
bindgen-all-the-things Update all copyright headers to match new style 2022-09-13 18:41:29 +00:00
cargo-doc Simplify cargo-doc 2022-10-31 21:33:33 +00:00
cl tools/cl upload: Add a few convenience flags 2022-11-02 20:20:47 +00:00
clippy crosvm: Enable default features on windows. 2022-11-07 23:03:25 +00:00
dev_container infra: Add build_chromeos_container builder 2022-10-26 23:05:08 +00:00
fmt Update all copyright headers to match new style 2022-09-13 18:41:29 +00:00
health-check Generate constants.json offline 2022-11-02 00:13:08 +00:00
install-aarch64-deps Enable vaapi feature upstream 2022-10-14 20:31:19 +00:00
install-armhf-deps test_config: Cleanup and enable some video crates 2022-11-03 23:03:54 +00:00
install-deps e2e_tests: Add a tool to dev_container and guest rootfs 2022-11-07 04:00:40 +00:00
install-docs-deps Update all copyright headers to match new style 2022-09-13 18:41:29 +00:00
install-wine-deps Fix winetricks install and build new container 2022-11-01 19:04:35 +00:00
presubmit tools: Call clippy for mingw64 from presubmit 2022-11-03 18:36:41 +00:00
run_tests Update copyright header check to cover all files 2022-09-13 18:41:29 +00:00
test_target Update copyright header check to cover all files 2022-09-13 18:41:29 +00:00
x86vm Update copyright header check to cover all files 2022-09-13 18:41:29 +00:00