OSDN Git Service

Add the UMOUNT_NOFOLLOW flag to <sys/mount.h>.
authorElliott Hughes <enh@google.com>
Wed, 11 Mar 2015 16:32:25 +0000 (09:32 -0700)
committerElliott Hughes <enh@google.com>
Wed, 11 Mar 2015 16:32:25 +0000 (09:32 -0700)
Change-Id: I2b81cfc3147d9a0a6ac2a8f064e6d9864fa7e04d

libc/include/sys/mount.h

index 3c35d31..fd7cf17 100644 (file)
@@ -25,6 +25,7 @@
  * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  * SUCH DAMAGE.
  */
+
 #ifndef _SYS_MOUNT_H
 #define _SYS_MOUNT_H
 
 __BEGIN_DECLS
 
 /* umount2 flags. */
-#define MNT_FORCE      1       /* Forcibly unmount */
-#define MNT_DETACH     2       /* Detach from tree only */
-#define MNT_EXPIRE     4       /* Mark for expiry */
+#define MNT_FORCE 1
+#define MNT_DETACH 2
+#define MNT_EXPIRE 4
+#define UMOUNT_NOFOLLOW 8
 
 extern int mount(const char*, const char*, const char*, unsigned long, const void*);
 extern int umount(const char*);