From 1b7695fe5f4efa5901c560c8f90ee5f3429ee843 Mon Sep 17 00:00:00 2001 From: Helge Deller Date: Wed, 27 Feb 2019 20:11:15 +0100 Subject: linux-user: Nicer strace output of chroot() syscall Signed-off-by: Helge Deller Reviewed-by: Laurent Vivier Message-Id: <20190227191115.GA20163@ls3530.dellerweb.de> Signed-off-by: Laurent Vivier --- linux-user/strace.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'linux-user/strace.c') diff --git a/linux-user/strace.c b/linux-user/strace.c index 7318392e57..6f72a74c09 100644 --- a/linux-user/strace.c +++ b/linux-user/strace.c @@ -1235,6 +1235,18 @@ print_chdir(const struct syscallname *name, } #endif +#ifdef TARGET_NR_chroot +static void +print_chroot(const struct syscallname *name, + abi_long arg0, abi_long arg1, abi_long arg2, + abi_long arg3, abi_long arg4, abi_long arg5) +{ + print_syscall_prologue(name); + print_string(arg0, 1); + print_syscall_epilogue(name); +} +#endif + #ifdef TARGET_NR_chmod static void print_chmod(const struct syscallname *name, -- cgit v1.2.3