crosvm/sys_util
Zach Reizner 5d586b73a4 sys_util: use MADV_DONTDUMP for new mmaps
The mmaps made through the sys_util API are usually for guest memory or
other large shared memory chunks that will pollute the file system with
huge dumps on crash. By using MADV_DONTDUMP, we save the file system
from storing these useless data segments when crosvm crashes.

TEST=./build_test
BUG=None

Change-Id: I2041523648cd7c150bbdbfceef589f42d3f9c2b9
Reviewed-on: https://chromium-review.googlesource.com/890279
Commit-Ready: Zach Reizner <zachr@chromium.org>
Tested-by: Zach Reizner <zachr@chromium.org>
Reviewed-by: Stephen Barber <smbarber@chromium.org>
2018-03-30 21:53:32 -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: use MADV_DONTDUMP for new mmaps 2018-03-30 21:53:32 -07:00
build.rs
Cargo.toml sys_util: custom derive for PollToken 2018-03-07 16:54:46 -08:00
sock_ctrl_msg.c