crosvm/sys_util/src
Allen Webb f28bca1ddc sys_util: Include EPOLLRDHUP in hangup checks.
TCP uses EPOLLRDHUP to indicate when the other side has sent a FIN.
Include EPOLLRDHUP in the hangup checks so TCP connections can be used
with the poll module.

BUG=None
TEST=manatee shell works in interactive mode.

Change-Id: I39d0527d992ee915f8b807a7ee75f831bc92b26a
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/3244224
Tested-by: kokoro <noreply+kokoro@google.com>
Reviewed-by: Daniel Verkamp <dverkamp@chromium.org>
Commit-Queue: Allen Webb <allenwebb@google.com>
2021-10-27 18:04:04 +00:00
..
android sys_util: Log to logd via liblog on Android. 2020-08-18 06:20:00 +00:00
linux sys_util: Fix clippy errors for dev-lang/rust-1.51.0 2021-04-16 15:14:25 +00:00
alloc.rs crosvm: add license blurb to all files 2019-04-24 15:51:38 -07:00
capabilities.rs edition: Remove extern crate lines 2019-04-15 02:06:08 -07:00
clock.rs devices: pit updates for hypervisor abstraction 2020-07-06 19:12:08 +00:00
descriptor.rs Use macros for trait implementations. 2021-08-17 16:07:51 +00:00
descriptor_reflection.rs sys_util: descriptor_reflection - fix warning in nightly 2021-04-19 22:17:09 +00:00
errno.rs sys_util: convert to ThisError and sort 2021-10-06 20:58:22 +00:00
eventfd.rs Replace dup with fcntl(F_DUPFD_CLOEXEC) 2021-04-15 10:34:04 +00:00
external_mapping.rs sys_util: convert to ThisError and sort 2021-10-06 20:58:22 +00:00
file_flags.rs edition: Use dyn syntax for trait objects 2019-04-08 02:51:37 -07:00
file_traits.rs crosvm: Implement communication logic in virtio-vhost-user PCI device 2021-09-17 22:07:55 +00:00
fork.rs sys_util: convert to ThisError and sort 2021-10-06 20:58:22 +00:00
get_filesystem_type.rs Reland "Dump backing File system type." 2021-10-11 23:10:07 +00:00
handle_eintr.rs sys_util: Apply clippy's autofix 2020-08-06 03:28:09 +00:00
ioctl.rs sys_util: Fix clippy:missing_safety_doc warnings 2020-08-06 03:28:12 +00:00
lib.rs devices: Serial devices can be backed by FD via /proc/self/fd/N 2021-10-27 00:38:43 +00:00
mmap.rs sys_util: convert to ThisError and sort 2021-10-06 20:58:22 +00:00
net.rs Add try_clone() and FromRawDescriptor for Tube and UnixSeqpacket 2021-08-17 11:48:07 +00:00
poll.rs sys_util: Include EPOLLRDHUP in hangup checks. 2021-10-27 18:04:04 +00:00
priority.rs edition: Update absolute paths to 2018 style 2019-03-13 21:05:03 -07:00
rand.rs sys_util: Migrate additional code from libchromeos-rs. 2021-04-19 22:44:13 +00:00
raw_fd.rs Add "Fd" wrapper for RawFd type. 2019-01-05 20:08:32 -08:00
read_dir.rs sys_util: Migrate libchromeos::read_dir and syscall! 2021-04-22 13:43:57 +00:00
sched.rs sys_util: Add the interface to get CPU affinity 2021-10-25 04:19:42 +00:00
scoped_path.rs sys_util: Migrate additional code from libchromeos-rs. 2021-04-19 22:44:13 +00:00
scoped_signal_handler.rs sys_util: convert to ThisError and sort 2021-10-06 20:58:22 +00:00
seek_hole.rs Simplify tests with tempfile::tempfile() 2020-08-27 00:39:03 +00:00
shm.rs remove dependencies on syscall_defines 2021-04-21 21:01:38 +00:00
signal.rs sys_util: convert to ThisError and sort 2021-10-06 20:58:22 +00:00
signalfd.rs sys_util: convert to ThisError and sort 2021-10-06 20:58:22 +00:00
sock_ctrl_msg.rs sys_util: Fix 1.51.0 acronym case clippy warnings. 2021-04-21 00:14:11 +00:00
syslog.rs sys_util: convert to ThisError and sort 2021-10-06 20:58:22 +00:00
terminal.rs devices: remove user_command from proxy device 2020-01-09 07:53:57 +00:00
timerfd.rs sys_util: Fix clippy errors and warnings 2021-03-04 20:23:12 +00:00
vsock.rs sys_util: convert to ThisError and sort 2021-10-06 20:58:22 +00:00
write_zeroes.rs sys_util: Fix clippy errors and warnings 2021-03-04 20:23:12 +00:00