crosvm/sys_util
Zach Reizner 3afab33a8d sys_util: add type to get open file flags
The only instance of libstd getting file flags is the debug formatter
for `File` which would be hacky to depend on. This change adds a type
and method to directly get open file flags.

TEST=cargo test -p sys_util
BUG=chromium:793688

Change-Id: I9fe411d8cb45d2993e2334ffe41f2eb6ec48de70
Reviewed-on: https://chromium-review.googlesource.com/985615
Commit-Ready: Zach Reizner <zachr@chromium.org>
Tested-by: Zach Reizner <zachr@chromium.org>
Reviewed-by: Stephen Barber <smbarber@chromium.org>
2018-03-29 21:59:44 -07:00
..
poll_token_derive poll_token_derive: Calculate variant bits without sizeof_val 2018-03-20 00:00:28 -07:00
src sys_util: add type to get open file flags 2018-03-29 21:59:44 -07:00
build.rs
Cargo.toml
sock_ctrl_msg.c