summaryrefslogtreecommitdiff
path: root/linux-user/strace.c
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2016-06-20 15:50:37 +0100
committerRiku Voipio <riku.voipio@linaro.org>2016-06-26 13:17:21 +0300
commit7e3b92ece0fff8073772b0e8a7bda41254626b78 (patch)
tree72adc1e7a786e9db5229680e78acf4c4da51094a /linux-user/strace.c
parent4debae6fa57443adf3b390397a069855ee4c4e4d (diff)
downloadqemu-7e3b92ece0fff8073772b0e8a7bda41254626b78.zip
linux-user: Support F_GETPIPE_SZ and F_SETPIPE_SZ fcntls
Support the F_GETPIPE_SZ and F_SETPIPE_SZ fcntl operations. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Laurent Vivier <laurent@vivier.eu> Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
Diffstat (limited to 'linux-user/strace.c')
-rw-r--r--linux-user/strace.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/linux-user/strace.c b/linux-user/strace.c
index 4046b81705..6ef5d389fc 100644
--- a/linux-user/strace.c
+++ b/linux-user/strace.c
@@ -918,6 +918,13 @@ print_fcntl(const struct syscallname *name,
case TARGET_F_GETLEASE:
gemu_log("F_GETLEASE");
break;
+ case TARGET_F_SETPIPE_SZ:
+ gemu_log("F_SETPIPE_SZ,");
+ print_raw_param(TARGET_ABI_FMT_ld, arg2, 1);
+ break;
+ case TARGET_F_GETPIPE_SZ:
+ gemu_log("F_GETPIPE_SZ");
+ break;
case TARGET_F_DUPFD_CLOEXEC:
gemu_log("F_DUPFD_CLOEXEC,");
print_raw_param(TARGET_ABI_FMT_ld, arg2, 1);