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 Update to syn-2 2023-12-02 00:23:50 +00:00
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 Refactoring: Move common/base into base 2022-03-17 00:01:27 +00:00
Cargo.toml Enable clippy for android code 2024-07-09 20:43:44 +00:00