diff options
author | Jim Wilson <jimw@sifive.com> | 2019-06-28 12:43:35 +0200 |
---|---|---|
committer | Laurent Vivier <laurent@vivier.eu> | 2019-07-02 16:56:46 +0200 |
commit | d42744fe0417a3b88f04f32881b7af9f48de3d2c (patch) | |
tree | 2a60ed6bc802cd56907b9184dd64c1ab26a0cb47 /linux-user/strace.list | |
parent | efa921845c03ef4df6b9d4b3b1ee1a103e7d4b46 (diff) |
linux-user: Add support for strace for statx() syscall
All of the flags need to be conditional as old systems don't have
statx support. Otherwise it works the same as other stat family
syscalls. This requires the pending patch to add statx support.
Tested on Ubuntu 16.04 (no host statx) and Ubuntu 19.04 (with host
statx) using a riscv32-linux toolchain.
Signed-off-by: Jim Wilson <jimw@sifive.com>
Signed-off-by: Aleksandar Markovic <amarkovic@wavecomp.com>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Message-Id: <1561718618-20218-3-git-send-email-aleksandar.markovic@rt-rk.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'linux-user/strace.list')
-rw-r--r-- | linux-user/strace.list | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/linux-user/strace.list b/linux-user/strace.list index db21ce4177..63a946642d 100644 --- a/linux-user/strace.list +++ b/linux-user/strace.list @@ -1650,3 +1650,6 @@ #ifdef TARGET_NR_atomic_barrier { TARGET_NR_atomic_barrier, "atomic_barrier", NULL, NULL, NULL }, #endif +#ifdef TARGET_NR_statx +{ TARGET_NR_statx, "statx", NULL, print_statx, NULL }, +#endif |