Skip to content

Commit

Permalink
Try readding all inotify flags
Browse files Browse the repository at this point in the history
  • Loading branch information
carbotaniuman committed Dec 7, 2022
1 parent ce5afa7 commit ec6d846
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 6 deletions.
3 changes: 3 additions & 0 deletions libc-test/semver/android.txt
Expand Up @@ -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
Expand Down
3 changes: 3 additions & 0 deletions libc-test/semver/linux.txt
Expand Up @@ -909,7 +909,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
Expand Down
6 changes: 3 additions & 3 deletions src/unix/linux_like/android/mod.rs
Expand Up @@ -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;

Expand Down
6 changes: 3 additions & 3 deletions src/unix/linux_like/linux/mod.rs
Expand Up @@ -3061,7 +3061,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;
Expand Down Expand Up @@ -3107,8 +3107,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;

Expand Down

0 comments on commit ec6d846

Please sign in to comment.