Dmitry V. Levin | 542ca1e | 2014-12-03 21:09:26 +0000 | [diff] [blame] | 1 | #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 | |
Dmitry V. Levin | a0bd374 | 2015-04-07 01:36:50 +0000 | [diff] [blame] | 9 | SYS_FUNC(umount2) |
Dmitry V. Levin | 542ca1e | 2014-12-03 21:09:26 +0000 | [diff] [blame] | 10 | { |
Dmitry V. Levin | c1f37f6 | 2015-07-16 21:13:27 +0000 | [diff] [blame] | 11 | printstr(tcp, tcp->u_arg[0], -1); |
| 12 | tprints(", "); |
| 13 | printflags(umount_flags, tcp->u_arg[1], "MNT_???"); |
| 14 | |
| 15 | return RVAL_DECODED; |
Dmitry V. Levin | 542ca1e | 2014-12-03 21:09:26 +0000 | [diff] [blame] | 16 | } |