Skip to content

Commit

Permalink
Android supports EPOLLEXCLUSIVE
Browse files Browse the repository at this point in the history
  • Loading branch information
rtzoeller committed Oct 14, 2021
1 parent 7289069 commit 36be4cd
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 4 deletions.
1 change: 1 addition & 0 deletions libc-test/semver/android.txt
Expand Up @@ -430,6 +430,7 @@ EPFNOSUPPORT
EPIPE
EPOLLERR
EPOLLET
EPOLLEXCLUSIVE
EPOLLHUP
EPOLLIN
EPOLLMSG
Expand Down
2 changes: 0 additions & 2 deletions src/unix/linux_like/emscripten/mod.rs
Expand Up @@ -965,8 +965,6 @@ pub const SHM_UNLOCK: ::c_int = 12;
pub const SHM_HUGETLB: ::c_int = 0o4000;
pub const SHM_NORESERVE: ::c_int = 0o10000;

pub const EPOLLEXCLUSIVE: ::c_int = 0x10000000;

pub const QFMT_VFS_OLD: ::c_int = 1;
pub const QFMT_VFS_V0: ::c_int = 2;

Expand Down
2 changes: 0 additions & 2 deletions src/unix/linux_like/linux/mod.rs
Expand Up @@ -1551,8 +1551,6 @@ pub const SHM_HUGETLB: ::c_int = 0o4000;
#[cfg(not(all(target_env = "uclibc", target_arch = "mips")))]
pub const SHM_NORESERVE: ::c_int = 0o10000;

pub const EPOLLEXCLUSIVE: ::c_int = 0x10000000;

pub const QFMT_VFS_OLD: ::c_int = 1;
pub const QFMT_VFS_V0: ::c_int = 2;
pub const QFMT_VFS_V1: ::c_int = 4;
Expand Down
1 change: 1 addition & 0 deletions src/unix/linux_like/mod.rs
Expand Up @@ -1036,6 +1036,7 @@ pub const EPOLLWRNORM: ::c_int = 0x100;
pub const EPOLLWRBAND: ::c_int = 0x200;
pub const EPOLLMSG: ::c_int = 0x400;
pub const EPOLLRDHUP: ::c_int = 0x2000;
pub const EPOLLEXCLUSIVE: ::c_int = 0x10000000;
pub const EPOLLWAKEUP: ::c_int = 0x20000000;
pub const EPOLLONESHOT: ::c_int = 0x40000000;
pub const EPOLLET: ::c_int = 0x80000000;
Expand Down

0 comments on commit 36be4cd

Please sign in to comment.