Mirror of strace – the linux syscall tracer
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

fchownat.c 406B

123456789101112131415161718192021
  1. /*
  2. * Copyright (c) 2014-2019 The strace developers.
  3. * All rights reserved.
  4. *
  5. * SPDX-License-Identifier: LGPL-2.1-or-later
  6. */
  7. #include "defs.h"
  8. SYS_FUNC(fchownat)
  9. {
  10. print_dirfd(tcp, tcp->u_arg[0]);
  11. tprints(", ");
  12. printpath(tcp, tcp->u_arg[1]);
  13. printuid(", ", tcp->u_arg[2]);
  14. printuid(", ", tcp->u_arg[3]);
  15. tprints(", ");
  16. printflags(at_flags, tcp->u_arg[4], "AT_???");
  17. return RVAL_DECODED;
  18. }