From 09cde3bb56b8d3580cb4fb6311f955272fbad2a5 Mon Sep 17 00:00:00 2001 From: kubo39 Date: Mon, 28 Mar 2016 20:50:02 +0900 Subject: [PATCH] epoll: Add EPOLLEXCLUSIVE flag. EPOLLEXCLUSIVE flag is available in Linux4.5. --- src/sys/epoll.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/sys/epoll.rs b/src/sys/epoll.rs index 592f10a17b..2090a0df1c 100644 --- a/src/sys/epoll.rs +++ b/src/sys/epoll.rs @@ -27,6 +27,7 @@ bitflags!( const EPOLLERR = 0x008, const EPOLLHUP = 0x010, const EPOLLRDHUP = 0x2000, + const EPOLLEXCLUSIVE = 1 << 28, const EPOLLWAKEUP = 1 << 29, const EPOLLONESHOT = 1 << 30, const EPOLLET = 1 << 31