]> git.ipfire.org Git - thirdparty/util-linux.git/blobdiff - libmount/src/mountP.h
mount: Allow bind-mounting with "nosymfollow"
[thirdparty/util-linux.git] / libmount / src / mountP.h
index 0919dedb60447e92b1177437f83b2546bc2abfe7..908bf90b310d9c52a1c73169be197396c758c587 100644 (file)
@@ -385,7 +385,7 @@ struct libmnt_context
 #define MNT_FL_DEFAULT         0
 
 /* Flags usable with MS_BIND|MS_REMOUNT */
-#define MNT_BIND_SETTABLE      (MS_NOSUID|MS_NODEV|MS_NOEXEC|MS_NOATIME|MS_NODIRATIME|MS_RELATIME|MS_RDONLY)
+#define MNT_BIND_SETTABLE      (MS_NOSUID|MS_NODEV|MS_NOEXEC|MS_NOATIME|MS_NODIRATIME|MS_RELATIME|MS_RDONLY|MS_NOSYMFOLLOW)
 
 /* lock.c */
 extern int mnt_lock_use_simplelock(struct libmnt_lock *ml, int enable);