aboutsummaryrefslogtreecommitdiffstats
path: root/fchownat.c
blob: 95de6e4af92e6d9ab0bbb58460d2ceecc6827e02 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#include "defs.h"

int
sys_fchownat(struct tcb *tcp)
{
	if (entering(tcp)) {
		print_dirfd(tcp, tcp->u_arg[0]);
		printpath(tcp, tcp->u_arg[1]);
		printuid(", ", tcp->u_arg[2]);
		printuid(", ", tcp->u_arg[3]);
		tprints(", ");
		printflags(at_flags, tcp->u_arg[4], "AT_???");
	}
	return 0;
}