3 #define MS_MGC_VAL 0xc0ed0000 /* old magic mount flag number */
4 #define MS_MGC_MSK 0xffff0000 /* old magic mount flag mask */
6 #include "xlat/mount_flags.h"
10 bool ignore_type = false;
11 bool ignore_data = false;
12 bool old_magic = false;
13 unsigned long flags = tcp->u_arg[3];
16 if ((flags & MS_MGC_MSK) == MS_MGC_VAL) {
21 if (flags & MS_REMOUNT)
23 else if (flags & (MS_BIND | MS_MOVE | MS_SHARED
24 | MS_PRIVATE | MS_SLAVE | MS_UNBINDABLE))
25 ignore_type = ignore_data = true;
27 printpath(tcp, tcp->u_arg[0]);
30 printpath(tcp, tcp->u_arg[1]);
34 printaddr(tcp->u_arg[2]);
36 printstr(tcp, tcp->u_arg[2], -1);
40 tprints("MS_MGC_VAL");
44 if (flags || !old_magic)
45 printflags(mount_flags, flags, "MS_???");
49 printaddr(tcp->u_arg[4]);
51 printstr(tcp, tcp->u_arg[4], -1);