mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 01:03:55 -06:00
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 <aleksandar.markovic@imgtec.com> Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
This commit is contained in:
parent
38860a0343
commit
5a03cd009a
3 changed files with 24 additions and 1 deletions
|
@ -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 },
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue