From c727f47d59641c43ce171126232fd8049296adf6 Mon Sep 17 00:00:00 2001 From: Peter Maydell Date: Thu, 6 Jan 2011 11:05:10 +0000 Subject: linux-user: Implement sync_file_range{,2} syscalls Implement the missing syscalls sync_file_range and sync_file_range2. The latter in particular is used by newer versions of apt on Ubuntu for ARM. Signed-off-by: Peter Maydell Signed-off-by: Riku Voipio --- linux-user/strace.list | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'linux-user/strace.list') diff --git a/linux-user/strace.list b/linux-user/strace.list index 97b7f7691d..d7be0e7a68 100644 --- a/linux-user/strace.list +++ b/linux-user/strace.list @@ -1518,3 +1518,9 @@ #ifdef TARGET_NR_utimensat { TARGET_NR_utimensat, "utimensat", NULL, print_utimensat, NULL }, #endif +#ifdef TARGET_NR_sync_file_range +{ TARGET_NR_sync_file_range, "sync_file_range", NULL, NULL, NULL }, +#endif +#ifdef TARGET_NR_sync_file_range2 +{ TARGET_NR_sync_file_range2, "sync_file_range2", NULL, NULL, NULL }, +#endif -- cgit v1.2.3-55-g7522