Dmitry V. Levin
542ca1ef3d
* umount.c: New file. * Makefile.am (strace_SOURCES): Add it. * system.c: Move sys_umount2 and related code to umount.c.
19 lines
409 B
C
19 lines
409 B
C
#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"
|
|
|
|
int
|
|
sys_umount2(struct tcb *tcp)
|
|
{
|
|
if (entering(tcp)) {
|
|
printstr(tcp, tcp->u_arg[0], -1);
|
|
tprints(", ");
|
|
printflags(umount_flags, tcp->u_arg[1], "MNT_???");
|
|
}
|
|
return 0;
|
|
}
|