blob: ca5037f53e6184a43360f4785172f63f8d0c7f20 [file] [log] [blame]
Dmitry V. Levin542ca1e2014-12-03 21:09:26 +00001#include "defs.h"
2
3#define MNT_FORCE 0x00000001 /* Attempt to forcibily umount */
4#define MNT_DETACH 0x00000002 /* Just detach from the tree */
5#define MNT_EXPIRE 0x00000004 /* Mark for expiry */
6
7#include "xlat/umount_flags.h"
8
9int
10sys_umount2(struct tcb *tcp)
11{
12 if (entering(tcp)) {
13 printstr(tcp, tcp->u_arg[0], -1);
14 tprints(", ");
15 printflags(umount_flags, tcp->u_arg[1], "MNT_???");
16 }
17 return 0;
18}