crosvm/sys_util
Chirantan Ekbote 701b55adf4 sys_util: Add clone_descriptor
This is like `clone_fd` but takes a `dyn AsRawDescriptor` instead.

BUG=b:179755841
TEST=use it in a later change

Change-Id: I432a57f139f88ca7771e83a3edf09eb4f3d6156f
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/2927189
Tested-by: kokoro <noreply+kokoro@google.com>
Reviewed-by: Zach Reizner <zachr@chromium.org>
Reviewed-by: Keiichi Watanabe <keiichiw@chromium.org>
Commit-Queue: Chirantan Ekbote <chirantan@chromium.org>
2021-06-03 09:57:58 +00:00
..
poll_token_derive Update syn, quote, and proc-macro past 1.0 2020-02-06 05:28:15 +00:00
src sys_util: Add clone_descriptor 2021-06-03 09:57:58 +00:00
.build_test_serial build_test: misc options, improvements, amd bug fixes 2020-10-15 13:40:32 +00:00
Cargo.toml sys_util: Switch syslog error to thiserror 2021-05-18 16:42:20 +00:00