summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.cirrus.yml2
-rw-r--r--libc-test/semver/android.txt3
-rw-r--r--libc-test/semver/linux.txt3
-rw-r--r--src/unix/linux_like/android/mod.rs6
-rw-r--r--src/unix/linux_like/linux/mod.rs6
5 files changed, 13 insertions, 7 deletions
diff --git a/.cirrus.yml b/.cirrus.yml
index fcbb8db65a..f72dc82abf 100644
--- a/.cirrus.yml
+++ b/.cirrus.yml
@@ -1,7 +1,7 @@
task:
name: nightly x86_64-unknown-freebsd-12
freebsd_instance:
- image: freebsd-12-3-release-amd64
+ image: freebsd-12-4-release-amd64
setup_script:
- pkg install -y curl
- curl https://sh.rustup.rs -sSf --output rustup.sh
diff --git a/libc-test/semver/android.txt b/libc-test/semver/android.txt
index 50979e5f81..815a97eeb3 100644
--- a/libc-test/semver/android.txt
+++ b/libc-test/semver/android.txt
@@ -807,7 +807,10 @@ IN_CREATE
IN_DELETE
IN_DELETE_SELF
IN_DONT_FOLLOW
+IN_EXCL_UNLINK
IN_IGNORED
+IN_MASK_CREATE
+IN_MASK_ADD
IN_ISDIR
IN_MODIFY
IN_MOVE
diff --git a/libc-test/semver/linux.txt b/libc-test/semver/linux.txt
index 8151187df0..087b1fc10c 100644
--- a/libc-test/semver/linux.txt
+++ b/libc-test/semver/linux.txt
@@ -910,7 +910,10 @@ IN_CREATE
IN_DELETE
IN_DELETE_SELF
IN_DONT_FOLLOW
+IN_EXCL_UNLINK
IN_IGNORED
+IN_MASK_CREATE
+IN_MASK_ADD
IN_ISDIR
IN_MODIFY
IN_MOVE
diff --git a/src/unix/linux_like/android/mod.rs b/src/unix/linux_like/android/mod.rs
index 61885582aa..3bc51260be 100644
--- a/src/unix/linux_like/android/mod.rs
+++ b/src/unix/linux_like/android/mod.rs
@@ -2615,10 +2615,10 @@ pub const IN_Q_OVERFLOW: u32 = 0x0000_4000;
pub const IN_IGNORED: u32 = 0x0000_8000;
pub const IN_ONLYDIR: u32 = 0x0100_0000;
pub const IN_DONT_FOLLOW: u32 = 0x0200_0000;
-// pub const IN_EXCL_UNLINK: u32 = 0x0400_0000;
+pub const IN_EXCL_UNLINK: u32 = 0x0400_0000;
-// pub const IN_MASK_CREATE: u32 = 0x1000_0000;
-// pub const IN_MASK_ADD: u32 = 0x2000_0000;
+pub const IN_MASK_CREATE: u32 = 0x1000_0000;
+pub const IN_MASK_ADD: u32 = 0x2000_0000;
pub const IN_ISDIR: u32 = 0x4000_0000;
pub const IN_ONESHOT: u32 = 0x8000_0000;
diff --git a/src/unix/linux_like/linux/mod.rs b/src/unix/linux_like/linux/mod.rs
index f2efca23b6..743927e517 100644
--- a/src/unix/linux_like/linux/mod.rs
+++ b/src/unix/linux_like/linux/mod.rs
@@ -3065,7 +3065,7 @@ pub const IN_Q_OVERFLOW: u32 = 0x0000_4000;
pub const IN_IGNORED: u32 = 0x0000_8000;
pub const IN_ONLYDIR: u32 = 0x0100_0000;
pub const IN_DONT_FOLLOW: u32 = 0x0200_0000;
-// pub const IN_EXCL_UNLINK: u32 = 0x0400_0000;
+pub const IN_EXCL_UNLINK: u32 = 0x0400_0000;
// linux/keyctl.h
pub const KEY_SPEC_THREAD_KEYRING: i32 = -1;
@@ -3111,8 +3111,8 @@ pub const KEYCTL_INSTANTIATE_IOV: u32 = 20;
pub const KEYCTL_INVALIDATE: u32 = 21;
pub const KEYCTL_GET_PERSISTENT: u32 = 22;
-// pub const IN_MASK_CREATE: u32 = 0x1000_0000;
-// pub const IN_MASK_ADD: u32 = 0x2000_0000;
+pub const IN_MASK_CREATE: u32 = 0x1000_0000;
+pub const IN_MASK_ADD: u32 = 0x2000_0000;
pub const IN_ISDIR: u32 = 0x4000_0000;
pub const IN_ONESHOT: u32 = 0x8000_0000;