From 5a03cd009ae8d9c819c3f24f16695f8a334b8ad9 Mon Sep 17 00:00:00 2001 From: Aleksandar Markovic Date: Mon, 10 Oct 2016 13:23:30 +0200 Subject: linux-user: Add support for syncfs() syscall This patch implements Qemu user mode syncfs() syscall support. Syscall syncfs() syncs the filesystem containing file determined by the open file descriptor passed as the argument to syncfs(). The implementation consists of a straightforward invocation of host's syncfs(). Configure and strace support is included as well. Signed-off-by: Aleksandar Markovic Signed-off-by: Riku Voipio --- linux-user/strace.list | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'linux-user/strace.list') diff --git a/linux-user/strace.list b/linux-user/strace.list index dcd3812cad..3b1282ec1a 100644 --- a/linux-user/strace.list +++ b/linux-user/strace.list @@ -1459,7 +1459,7 @@ { TARGET_NR_sync, "sync" , NULL, NULL, NULL }, #endif #ifdef TARGET_NR_syncfs -{ TARGET_NR_syncfs, "syncfs" , NULL, NULL, NULL }, +{ TARGET_NR_syncfs, "syncfs" , "%s(%d)", NULL, NULL }, #endif #ifdef TARGET_NR_syscall { TARGET_NR_syscall, "syscall" , NULL, NULL, NULL }, -- cgit v1.2.3