mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2025-01-13 01:07:34 +00:00
ee2f1fe770
There were a few places that used this to get the page size inside of an unsafe block, For convenience, this adds a safe wrapper in sys_util and replaces all extant usage of sysconf with the wrapper version. BUG=chromium:800626 TEST=./build_test Change-Id: Ic65bf72aea90eabd4158fbdcdbe25c3f13ca93ac Reviewed-on: https://chromium-review.googlesource.com/857907 Commit-Ready: Zach Reizner <zachr@chromium.org> Tested-by: Zach Reizner <zachr@chromium.org> Reviewed-by: Stephen Barber <smbarber@chromium.org> Reviewed-by: Dylan Reid <dgreid@chromium.org> |
||
---|---|---|
.. | ||
errno.rs | ||
eventfd.rs | ||
fork.rs | ||
guest_address.rs | ||
guest_memory.rs | ||
handle_eintr.rs | ||
ioctl.rs | ||
lib.rs | ||
mmap.rs | ||
passwd.rs | ||
poll.rs | ||
shm.rs | ||
signal.rs | ||
signalfd.rs | ||
sock_ctrl_msg.rs | ||
struct_util.rs | ||
syslog.rs | ||
tempdir.rs | ||
terminal.rs |