crosvm/sys_util/src
Dmitry Torokhov 2cd14a1e46 sys_util: allow clearing given pending signal
We are planning on using KVM_SET_SIGNAL_MASK and have the signal that we
use to kick VCPU permanently masked to close the race around handling
pause requests, so we need a way to clear pending interrupts, otherwise
VM will never run again.

TEST=cargo test --features plugin; cargo test -p kvm; ./build_test
BUG=chromium:800626

Change-Id: I2dfe6fcb129e4b8156f6a7ff842e171661c56440
Signed-off-by: Dmitry Torokhov <dtor@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/930462
Reviewed-by: Zach Reizner <zachr@chromium.org>
2018-02-26 22:07:09 -08:00
..
errno.rs sys_util: Add conversion from errno io::Error. 2017-05-25 17:16:02 -07:00
eventfd.rs sys_util: implement IntoRawFd for EventFd 2018-02-06 18:18:39 -08:00
fork.rs crosvm: add uid_map/gid_map support to jailed devices 2017-09-08 17:35:58 -07:00
guest_address.rs crosvm: change GuestAddress to always be a u64 2018-02-01 18:08:55 -08:00
guest_memory.rs crosvm: change GuestAddress to always be a u64 2018-02-01 18:08:55 -08:00
handle_eintr.rs sys_util: move handle_eintr!() to sys_util so it can be reused 2017-06-30 12:51:24 -07:00
ioctl.rs sys_util: add ioctl module 2017-07-13 22:03:30 -07:00
lib.rs crosvm: add advisory locking for disk images 2018-02-21 22:26:53 -08:00
mmap.rs mmap: remove unused 'use' 2018-02-05 23:05:38 -08:00
passwd.rs sys_util: add get_user_id and get_group_id functions 2017-10-26 04:17:52 -07:00
poll.rs sys_util: add timeout support to Poller 2018-01-25 19:23:43 -08:00
shm.rs sys_util: SharedMemory: Add into_file 2018-01-16 21:26:24 -08:00
signal.rs sys_util: allow clearing given pending signal 2018-02-26 22:07:09 -08:00
signalfd.rs sys_util: factor out signal manipulation from signalfd into signal 2018-02-26 22:07:08 -08:00
sock_ctrl_msg.rs crosvm: change GuestAddress to always be a u64 2018-02-01 18:08:55 -08:00
struct_util.rs sys_util: Add struct utils 2017-05-10 20:58:06 -07:00
syslog.rs syslog: closelog before trying to figure out the fd 2018-01-05 14:28:45 -08:00
tempdir.rs fix armv7a and aarch64 build errors and warnings 2017-09-01 12:39:18 -07:00
terminal.rs src_util: add terminal module 2017-06-30 12:51:24 -07:00