]> granicus.if.org Git - strace/blob - move_mount.c
rtnl_link: print pad field in the struct ifla_port_vsi decoder
[strace] / move_mount.c
1 /*
2  * Copyright (c) 2019 Dmitry V. Levin <ldv@altlinux.org>
3  * All rights reserved.
4  *
5  * SPDX-License-Identifier: LGPL-2.1-or-later
6  */
7
8 #include "defs.h"
9 #ifdef HAVE_LINUX_MOUNT_H
10 # include <linux/mount.h>
11 #endif
12 #include "xlat/move_mount_flags.h"
13
14 SYS_FUNC(move_mount)
15 {
16         print_dirfd(tcp, tcp->u_arg[0]);
17         tprints(", ");
18         printpath(tcp, tcp->u_arg[1]);
19         tprints(", ");
20         print_dirfd(tcp, tcp->u_arg[2]);
21         tprints(", ");
22         printpath(tcp, tcp->u_arg[3]);
23         tprints(", ");
24         printflags(move_mount_flags, tcp->u_arg[4], "MOVE_MOUNT_???");
25         return RVAL_DECODED;
26 }