]> granicus.if.org Git - strace/blob - fchownat.c
tests: factor out common shell code to functions
[strace] / fchownat.c
1 #include "defs.h"
2
3 int
4 sys_fchownat(struct tcb *tcp)
5 {
6         if (entering(tcp)) {
7                 print_dirfd(tcp, tcp->u_arg[0]);
8                 printpath(tcp, tcp->u_arg[1]);
9                 printuid(", ", tcp->u_arg[2]);
10                 printuid(", ", tcp->u_arg[3]);
11                 tprints(", ");
12                 printflags(at_flags, tcp->u_arg[4], "AT_???");
13         }
14         return 0;
15 }