crosvm/base
Keiichi Watanabe 6327cc1cae base: Add call_with_extended_max_files()
Add a utility function `base::call_with_extended_max_files()` that executes
a given callback with extended file counts and restore the original file limit.

This utility will be used by the following CL for pmem-ext2.

BUG=b:329359333
TEST=presubmit

Change-Id: Id85781e4e4cd5542d4da630eb48779947b098490
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/5872164
Reviewed-by: Daniel Verkamp <dverkamp@chromium.org>
Commit-Queue: Keiichi Watanabe <keiichiw@chromium.org>
2024-09-19 01:22:11 +00:00
..
base_event_token_derive
src base: Add call_with_extended_max_files() 2024-09-19 01:22:11 +00:00
tests Fix byte_char_slices clippy warnings 2024-09-17 19:49:53 +00:00
.build_test_serial
Cargo.toml