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.

move_mount.c 558B

1234567891011121314151617181920212223242526
  1. /*
  2. * Copyright (c) 2019 Dmitry V. Levin <ldv@altlinux.org>
  3. * All rights reserved.
  4. *
  5. * SPDX-License-Identifier: LGPL-2.1-or-later
  6. */
  7. #include "defs.h"
  8. #ifdef HAVE_LINUX_MOUNT_H
  9. # include <linux/mount.h>
  10. #endif
  11. #include "xlat/move_mount_flags.h"
  12. SYS_FUNC(move_mount)
  13. {
  14. print_dirfd(tcp, tcp->u_arg[0]);
  15. tprints(", ");
  16. printpath(tcp, tcp->u_arg[1]);
  17. tprints(", ");
  18. print_dirfd(tcp, tcp->u_arg[2]);
  19. tprints(", ");
  20. printpath(tcp, tcp->u_arg[3]);
  21. tprints(", ");
  22. printflags(move_mount_flags, tcp->u_arg[4], "MOVE_MOUNT_???");
  23. return RVAL_DECODED;
  24. }