From: Dmitry V. Levin Date: Mon, 7 Dec 2015 00:10:58 +0000 (+0000) Subject: Update umount2 flags X-Git-Tag: v4.11~48 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=97af1be4c6449c7efbb3537d2005a2868f0af4c2;p=strace Update umount2 flags * umount.c (MNT_FORCE, MNT_DETACH, MNT_EXPIRE): Move definitions ... * xlat/umount_flags.in: ... here. Add UMOUNT_NOFOLLOW. --- diff --git a/umount.c b/umount.c index 4f599ea1..8fafeabe 100644 --- a/umount.c +++ b/umount.c @@ -1,9 +1,4 @@ #include "defs.h" - -#define MNT_FORCE 0x00000001 /* Attempt to forcibily umount */ -#define MNT_DETACH 0x00000002 /* Just detach from the tree */ -#define MNT_EXPIRE 0x00000004 /* Mark for expiry */ - #include "xlat/umount_flags.h" SYS_FUNC(umount2) diff --git a/xlat/umount_flags.in b/xlat/umount_flags.in index 4a7e366a..2edabcdb 100644 --- a/xlat/umount_flags.in +++ b/xlat/umount_flags.in @@ -1,3 +1,4 @@ -MNT_FORCE -MNT_DETACH -MNT_EXPIRE +MNT_FORCE 1 +MNT_DETACH 2 +MNT_EXPIRE 4 +UMOUNT_NOFOLLOW 8