diff options
author | Kamal Marhubi <kamal@marhubi.com> | 2016-03-14 17:29:54 -0400 |
---|---|---|
committer | Kamal Marhubi <kamal@marhubi.com> | 2016-03-14 19:25:06 -0400 |
commit | 10bfe0765147d62d730905115b02a6b32cea7266 (patch) | |
tree | f5ae850deeedfd0ef74a412087ae9810ddd72fe8 | |
parent | 4ff4acec366598484abe322b30fd02023c073102 (diff) | |
download | rust-libc-10bfe0765147d62d730905115b02a6b32cea7266.tar.gz |
linux: Move some MS_ flags for mount(2) up
These flags are available on Android.
-rw-r--r-- | src/unix/notbsd/linux/mod.rs | 5 | ||||
-rw-r--r-- | src/unix/notbsd/mod.rs | 4 |
2 files changed, 4 insertions, 5 deletions
diff --git a/src/unix/notbsd/linux/mod.rs b/src/unix/notbsd/linux/mod.rs index 82645ba0c3..ea0b462fa9 100644 --- a/src/unix/notbsd/linux/mod.rs +++ b/src/unix/notbsd/linux/mod.rs @@ -361,11 +361,6 @@ pub const SHM_UNLOCK: ::c_int = 12; pub const SHM_HUGETLB: ::c_int = 0o4000; pub const SHM_NORESERVE: ::c_int = 0o10000; -pub const MS_RELATIME: ::c_ulong = 0x200000; -pub const MS_KERNMOUNT: ::c_ulong = 0x400000; -pub const MS_I_VERSION: ::c_ulong = 0x800000; -pub const MS_STRICTATIME: ::c_ulong = 0x01000000; - pub const EPOLLRDHUP: ::c_int = 0x2000; pub const EPOLLONESHOT: ::c_int = 0x40000000; diff --git a/src/unix/notbsd/mod.rs b/src/unix/notbsd/mod.rs index 3283c3da85..826e57536f 100644 --- a/src/unix/notbsd/mod.rs +++ b/src/unix/notbsd/mod.rs @@ -269,6 +269,10 @@ pub const MS_UNBINDABLE: ::c_ulong = 0x020000; pub const MS_PRIVATE: ::c_ulong = 0x040000; pub const MS_SLAVE: ::c_ulong = 0x080000; pub const MS_SHARED: ::c_ulong = 0x100000; +pub const MS_RELATIME: ::c_ulong = 0x200000; +pub const MS_KERNMOUNT: ::c_ulong = 0x400000; +pub const MS_I_VERSION: ::c_ulong = 0x800000; +pub const MS_STRICTATIME: ::c_ulong = 0x1000000; pub const MS_ACTIVE: ::c_ulong = 0x40000000; pub const MS_NOUSER: ::c_ulong = 0x80000000; pub const MS_MGC_VAL: ::c_ulong = 0xc0ed0000; |