Branch data Line data Source code
1 : : #include "defs.h"
2 : :
3 : : static void
4 : 4 : decode_renameat(struct tcb *tcp)
5 : : {
6 : 4 : print_dirfd(tcp, tcp->u_arg[0]);
7 : 4 : printpath(tcp, tcp->u_arg[1]);
8 : 4 : tprints(", ");
9 : 4 : print_dirfd(tcp, tcp->u_arg[2]);
10 : 4 : printpath(tcp, tcp->u_arg[3]);
11 : 4 : }
12 : :
13 : 2 : SYS_FUNC(renameat)
14 : : {
15 : 2 : decode_renameat(tcp);
16 : :
17 : 2 : return RVAL_DECODED;
18 : : }
19 : :
20 : : #include <linux/fs.h>
21 : : #include "xlat/rename_flags.h"
22 : :
23 : 2 : SYS_FUNC(renameat2)
24 : : {
25 : 2 : decode_renameat(tcp);
26 : 2 : tprints(", ");
27 : 2 : printflags(rename_flags, tcp->u_arg[4], "RENAME_??");
28 : :
29 : 2 : return RVAL_DECODED;
30 : : }
|