(root)/
strace-6.5/
src/
fchownat.c
       1  /*
       2   * Copyright (c) 2014-2021 The strace developers.
       3   * All rights reserved.
       4   *
       5   * SPDX-License-Identifier: LGPL-2.1-or-later
       6   */
       7  
       8  #include "defs.h"
       9  
      10  SYS_FUNC(fchownat)
      11  {
      12  	/* dirfd */
      13  	print_dirfd(tcp, tcp->u_arg[0]);
      14  	tprint_arg_next();
      15  
      16  	/* pathname */
      17  	printpath(tcp, tcp->u_arg[1]);
      18  	tprint_arg_next();
      19  
      20  	/* owner */
      21  	printuid(tcp->u_arg[2]);
      22  	tprint_arg_next();
      23  
      24  	/* group */
      25  	printuid(tcp->u_arg[3]);
      26  	tprint_arg_next();
      27  
      28  	/* flags */
      29  	printflags(at_flags, tcp->u_arg[4], "AT_???");
      30  
      31  	return RVAL_DECODED;
      32  }