aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2010-03-12 08:44:10 -0800
committerUlrich Drepper <drepper@redhat.com>2010-03-12 08:44:10 -0800
commit94db8db8e80d8b7fe094dee92660c158bf62d732 (patch)
tree3d26eb9b147f34b1c5b5774a1c482bc87d8424f6
parent4c35fb65c9ea221561bc5698358944a73383b3d6 (diff)
downloadglibc-94db8db8e80d8b7fe094dee92660c158bf62d732.zip
glibc-94db8db8e80d8b7fe094dee92660c158bf62d732.tar.gz
glibc-94db8db8e80d8b7fe094dee92660c158bf62d732.tar.bz2
Define UMOUNT_NOFOLLOW.
-rw-r--r--ChangeLog4
-rw-r--r--sysdeps/unix/sysv/linux/sys/mount.h4
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index be5d555..e878159 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2010-03-12 Ulrich Drepper <drepper@redhat.com>
+
+ * sysdeps/unix/sysv/linux/sys/mount.h (UMOUNT_NOFOLLOW): Define.
+
2010-03-12 Andreas Schwab <schwab@redhat.com>
* elf/dl-dst.h: Include "trusted-dirs.h".
diff --git a/sysdeps/unix/sysv/linux/sys/mount.h b/sysdeps/unix/sysv/linux/sys/mount.h
index a41220d..923b461 100644
--- a/sysdeps/unix/sysv/linux/sys/mount.h
+++ b/sysdeps/unix/sysv/linux/sys/mount.h
@@ -123,8 +123,10 @@ enum
#define MNT_FORCE MNT_FORCE
MNT_DETACH = 2, /* Just detach from the tree. */
#define MNT_DETACH MNT_DETACH
- MNT_EXPIRE = 4 /* Mark for expiry. */
+ MNT_EXPIRE = 4, /* Mark for expiry. */
#define MNT_EXPIRE MNT_EXPIRE
+ UMOUNT_NOFOLLOW = 8 /* Don't follow symlink on umount. */
+#define UMOUNT_NOFOLLOW UMOUNT_NOFOLLOW
};