summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Zoeller <rtzoeller@rtzoeller.com>2022-01-12 21:34:49 -0600
committerRyan Zoeller <rtzoeller@rtzoeller.com>2022-01-12 21:34:49 -0600
commit4b462354e1a0cc23276e89f5ceb7740fe0651d25 (patch)
treece7376177a66df7ec545e157941a6b7d64c91fe0
parent26b68f834c4a629aac695147006e22c7515da884 (diff)
downloadrust-libc-4b462354e1a0cc23276e89f5ceb7740fe0651d25.tar.gz
Define UMOUNT_NOFOLLOW on Linux-like platforms
-rw-r--r--src/unix/linux_like/mod.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/unix/linux_like/mod.rs b/src/unix/linux_like/mod.rs
index 96f179c4f2..c3bdbf9b13 100644
--- a/src/unix/linux_like/mod.rs
+++ b/src/unix/linux_like/mod.rs
@@ -1045,8 +1045,10 @@ pub const EPOLL_CTL_ADD: ::c_int = 1;
pub const EPOLL_CTL_MOD: ::c_int = 3;
pub const EPOLL_CTL_DEL: ::c_int = 2;
+pub const MNT_FORCE: ::c_int = 0x1;
pub const MNT_DETACH: ::c_int = 0x2;
pub const MNT_EXPIRE: ::c_int = 0x4;
+pub const UMOUNT_NOFOLLOW: ::c_int = 0x8;
pub const Q_GETFMT: ::c_int = 0x800004;
pub const Q_GETINFO: ::c_int = 0x800005;
@@ -1062,8 +1064,6 @@ pub const QIF_USAGE: u32 = 10;
pub const QIF_TIMES: u32 = 48;
pub const QIF_ALL: u32 = 63;
-pub const MNT_FORCE: ::c_int = 0x1;
-
pub const Q_SYNC: ::c_int = 0x800001;
pub const Q_QUOTAON: ::c_int = 0x800002;
pub const Q_QUOTAOFF: ::c_int = 0x800003;