diff options
author | William Manley <william.manley@youview.com> | 2013-08-09 18:04:11 +0100 |
---|---|---|
committer | Dmitry V. Levin <ldv@altlinux.org> | 2013-09-11 14:21:33 +0000 |
commit | 16b9dcf8b870f47305aa2db174f5abccefb7cd94 (patch) | |
tree | 6685bb348c800f5d3cce3e544d8bf43bec0f224f /linux | |
parent | 9e937d9c471a7e365d621d11d4fa06c8f4b02454 (diff) | |
download | strace-16b9dcf8b870f47305aa2db174f5abccefb7cd94.tar.gz strace-16b9dcf8b870f47305aa2db174f5abccefb7cd94.tar.bz2 strace-16b9dcf8b870f47305aa2db174f5abccefb7cd94.tar.xz |
Add support for decoding sync_file_range
* file.c (sync_file_range_flags): New xlat structure.
(sys_sync_file_range, sys_sync_file_range2): New functions.
* linux/syscall.h (sys_sync_file_range, sys_sync_file_range2): New
prototypes.
* linux/dummy.h (sys_sync_file_range, sys_sync_file_range2): Remove.
* linux/mips/syscallent-o32.h: Set the number of sync_file_range
arguments to 7.
Diffstat (limited to 'linux')
-rw-r--r-- | linux/dummy.h | 2 | ||||
-rw-r--r-- | linux/mips/syscallent-o32.h | 2 | ||||
-rw-r--r-- | linux/syscall.h | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/linux/dummy.h b/linux/dummy.h index 9d33fe1..6af5ec7 100644 --- a/linux/dummy.h +++ b/linux/dummy.h @@ -47,8 +47,6 @@ #define sys_name_to_handle_at printargs #define sys_open_by_handle_at printargs #define sys_request_key printargs -#define sys_sync_file_range printargs -#define sys_sync_file_range2 printargs #define sys_sysfs printargs #define sys_vm86old printargs #define sys_vm86 printargs diff --git a/linux/mips/syscallent-o32.h b/linux/mips/syscallent-o32.h index 3431b81..0608f9d 100644 --- a/linux/mips/syscallent-o32.h +++ b/linux/mips/syscallent-o32.h @@ -305,7 +305,7 @@ { 5, TD, sys_ppoll, "ppoll" }, /* 4302 */ { 1, TP, sys_unshare, "unshare" }, /* 4303 */ { 6, TD, sys_splice, "splice" }, /* 4304 */ - { 6, TD, sys_sync_file_range, "sync_file_range" }, /* 4305 */ + { 7, TD, sys_sync_file_range, "sync_file_range" }, /* 4305 */ { 4, TD, sys_tee, "tee" }, /* 4306 */ { 4, TD, sys_vmsplice, "vmsplice" }, /* 4307 */ { 6, TM, sys_move_pages, "move_pages" }, /* 4308 */ diff --git a/linux/syscall.h b/linux/syscall.h index f6afcac..502e8eb 100644 --- a/linux/syscall.h +++ b/linux/syscall.h @@ -267,6 +267,8 @@ int sys_statfs64(); int sys_stime(); int sys_swapon(); int sys_symlinkat(); +int sys_sync_file_range(); +int sys_sync_file_range2(); int sys_sysctl(); int sys_sysinfo(); int sys_syslog(); |