am be86f877: Merge "Add the UMOUNT_NOFOLLOW flag to <sys/mount.h>."
* commit 'be86f87711ee71ff971da2e2ae7a092081177951': Add the UMOUNT_NOFOLLOW flag to <sys/mount.h>.
This commit is contained in:
commit
59e911c7fd
@ -25,6 +25,7 @@
|
|||||||
* OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
* OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||||
* SUCH DAMAGE.
|
* SUCH DAMAGE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef _SYS_MOUNT_H
|
#ifndef _SYS_MOUNT_H
|
||||||
#define _SYS_MOUNT_H
|
#define _SYS_MOUNT_H
|
||||||
|
|
||||||
@ -35,9 +36,10 @@
|
|||||||
__BEGIN_DECLS
|
__BEGIN_DECLS
|
||||||
|
|
||||||
/* umount2 flags. */
|
/* umount2 flags. */
|
||||||
#define MNT_FORCE 1 /* Forcibly unmount */
|
#define MNT_FORCE 1
|
||||||
#define MNT_DETACH 2 /* Detach from tree only */
|
#define MNT_DETACH 2
|
||||||
#define MNT_EXPIRE 4 /* Mark for expiry */
|
#define MNT_EXPIRE 4
|
||||||
|
#define UMOUNT_NOFOLLOW 8
|
||||||
|
|
||||||
extern int mount(const char*, const char*, const char*, unsigned long, const void*);
|
extern int mount(const char*, const char*, const char*, unsigned long, const void*);
|
||||||
extern int umount(const char*);
|
extern int umount(const char*);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user