From ba87fe5145b27bee0dc2a0ce146928a1998c8061 Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Wed, 11 Mar 2015 09:32:25 -0700 Subject: [PATCH] Add the UMOUNT_NOFOLLOW flag to . Change-Id: I2b81cfc3147d9a0a6ac2a8f064e6d9864fa7e04d --- libc/include/sys/mount.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/libc/include/sys/mount.h b/libc/include/sys/mount.h index 3c35d31b9..fd7cf17fb 100644 --- a/libc/include/sys/mount.h +++ b/libc/include/sys/mount.h @@ -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 @@ -35,9 +36,10 @@ __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*);