Skip to content

Commit 36be4cd

Browse files
committed
Android supports EPOLLEXCLUSIVE
1 parent 7289069 commit 36be4cd

File tree

4 files changed

+2
-4
lines changed

4 files changed

+2
-4
lines changed

libc-test/semver/android.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -430,6 +430,7 @@ EPFNOSUPPORT
430430
EPIPE
431431
EPOLLERR
432432
EPOLLET
433+
EPOLLEXCLUSIVE
433434
EPOLLHUP
434435
EPOLLIN
435436
EPOLLMSG

src/unix/linux_like/emscripten/mod.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -965,8 +965,6 @@ pub const SHM_UNLOCK: ::c_int = 12;
965965
pub const SHM_HUGETLB: ::c_int = 0o4000;
966966
pub const SHM_NORESERVE: ::c_int = 0o10000;
967967

968-
pub const EPOLLEXCLUSIVE: ::c_int = 0x10000000;
969-
970968
pub const QFMT_VFS_OLD: ::c_int = 1;
971969
pub const QFMT_VFS_V0: ::c_int = 2;
972970

src/unix/linux_like/linux/mod.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1551,8 +1551,6 @@ pub const SHM_HUGETLB: ::c_int = 0o4000;
15511551
#[cfg(not(all(target_env = "uclibc", target_arch = "mips")))]
15521552
pub const SHM_NORESERVE: ::c_int = 0o10000;
15531553

1554-
pub const EPOLLEXCLUSIVE: ::c_int = 0x10000000;
1555-
15561554
pub const QFMT_VFS_OLD: ::c_int = 1;
15571555
pub const QFMT_VFS_V0: ::c_int = 2;
15581556
pub const QFMT_VFS_V1: ::c_int = 4;

src/unix/linux_like/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1036,6 +1036,7 @@ pub const EPOLLWRNORM: ::c_int = 0x100;
10361036
pub const EPOLLWRBAND: ::c_int = 0x200;
10371037
pub const EPOLLMSG: ::c_int = 0x400;
10381038
pub const EPOLLRDHUP: ::c_int = 0x2000;
1039+
pub const EPOLLEXCLUSIVE: ::c_int = 0x10000000;
10391040
pub const EPOLLWAKEUP: ::c_int = 0x20000000;
10401041
pub const EPOLLONESHOT: ::c_int = 0x40000000;
10411042
pub const EPOLLET: ::c_int = 0x80000000;

0 commit comments

Comments
 (0)