From: Dmitry V. Levin Date: Wed, 8 May 2013 17:03:24 +0000 (+0000) Subject: sync_file_range: fix number of syscall arguments X-Git-Tag: v4.8~19 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f9236e6d76f617819b45c10e3485f07c3d9083f8;p=strace sync_file_range: fix number of syscall arguments * linux/avr32/syscallent.h: Set the number of sync_file_range arguments to 6. * linux/bfin/syscallent.h: Likewise. * linux/hppa/syscallent.h: Likewise. * linux/i386/syscallent.h: Likewise. * linux/m68k/syscallent.h: Likewise. * linux/microblaze/syscallent.h: Likewise. * linux/mips/syscallent-o32.h: Likewise. * linux/or1k/syscallent.h: Likewise. * linux/s390/syscallent.h: Likewise. * linux/sh/syscallent.h: Likewise. * linux/powerpc/syscallent.h: Change sync_file_range to sync_file_range2, set the number of sync_file_range2 arguments to 6. * linux/tile/syscallent.h: Change sync_file_range to sync_file_range2, set the number of sync_file_range2 arguments to 4. * linux/tile/syscallent1.h: Change sync_file_range to sync_file_range2. update handler. * linux/xtensa/syscallent.h: Likewise. --- diff --git a/linux/avr32/syscallent.h b/linux/avr32/syscallent.h index af190aeb..527d11a5 100644 --- a/linux/avr32/syscallent.h +++ b/linux/avr32/syscallent.h @@ -287,7 +287,7 @@ { 2, 0, sys_set_robust_list, "set_robust_list" }, /* 259 */ { 3, 0, sys_get_robust_list, "get_robust_list" }, /* 260 */ { 6, TD, sys_splice, "splice" }, /* 261 */ - { 4, TD, sys_sync_file_range, "sync_file_range" }, /* 262 */ + { 6, TD, sys_sync_file_range, "sync_file_range" }, /* 262 */ { 4, TD, sys_tee, "tee" }, /* 263 */ { 4, TD, sys_vmsplice, "vmsplice" }, /* 264 */ { 6, TD, sys_epoll_pwait, "epoll_pwait" }, /* 265 */ diff --git a/linux/bfin/syscallent.h b/linux/bfin/syscallent.h index b27237cf..cc03eaf0 100644 --- a/linux/bfin/syscallent.h +++ b/linux/bfin/syscallent.h @@ -369,7 +369,7 @@ { 4, TI, sys_shmdt, "shmdt" }, /* 340 */ { 4, TI, sys_shmget, "shmget" }, /* 341 */ { 6, TD, sys_splice, "splice" }, /* 342 */ - { 4, TD, sys_sync_file_range, "sync_file_range" }, /* 343 */ + { 6, TD, sys_sync_file_range, "sync_file_range" }, /* 343 */ { 4, TD, sys_tee, "tee" }, /* 344 */ { 4, TD, sys_vmsplice, "vmsplice" }, /* 345 */ { 6, TD, sys_epoll_pwait, "epoll_pwait" }, /* 346 */ diff --git a/linux/hppa/syscallent.h b/linux/hppa/syscallent.h index 242d43c3..4ce2dc20 100644 --- a/linux/hppa/syscallent.h +++ b/linux/hppa/syscallent.h @@ -294,7 +294,7 @@ { 2, 0, sys_set_robust_list, "set_robust_list" }, /* 289 */ { 3, 0, sys_get_robust_list, "get_robust_list" }, /* 290 */ { 6, TD, sys_splice, "splice" }, /* 291 */ - { 4, TD, sys_sync_file_range, "sync_file_range" }, /* 292 */ + { 6, TD, sys_sync_file_range, "sync_file_range" }, /* 292 */ { 4, TD, sys_tee, "tee" }, /* 293 */ { 4, TD, sys_vmsplice, "vmsplice" }, /* 294 */ { 6, TM, sys_move_pages, "move_pages" }, /* 295 */ diff --git a/linux/i386/syscallent.h b/linux/i386/syscallent.h index b1096998..480a28e6 100644 --- a/linux/i386/syscallent.h +++ b/linux/i386/syscallent.h @@ -342,7 +342,7 @@ { 2, 0, sys_set_robust_list, "set_robust_list" }, /* 311 */ { 3, 0, sys_get_robust_list, "get_robust_list" }, /* 312 */ { 6, TD, sys_splice, "splice" }, /* 313 */ - { 4, TD, sys_sync_file_range, "sync_file_range" }, /* 314 */ + { 6, TD, sys_sync_file_range, "sync_file_range" }, /* 314 */ { 4, TD, sys_tee, "tee" }, /* 315 */ { 4, TD, sys_vmsplice, "vmsplice" }, /* 316 */ { 6, TM, sys_move_pages, "move_pages" }, /* 317 */ diff --git a/linux/m68k/syscallent.h b/linux/m68k/syscallent.h index a7ba6e38..d3eec794 100644 --- a/linux/m68k/syscallent.h +++ b/linux/m68k/syscallent.h @@ -333,7 +333,7 @@ { 2, 0, sys_set_robust_list, "set_robust_list" }, /* 304 */ { 3, 0, sys_get_robust_list, "get_robust_list" }, /* 305 */ { 6, TD, sys_splice, "splice" }, /* 306 */ - { 4, TD, sys_sync_file_range, "sync_file_range" }, /* 307 */ + { 6, TD, sys_sync_file_range, "sync_file_range" }, /* 307 */ { 4, TD, sys_tee, "tee" }, /* 308 */ { 4, TD, sys_vmsplice, "vmsplice" }, /* 309 */ { 6, TM, sys_move_pages, "move_pages" }, /* 310 */ diff --git a/linux/microblaze/syscallent.h b/linux/microblaze/syscallent.h index 35a804cd..22b69c48 100644 --- a/linux/microblaze/syscallent.h +++ b/linux/microblaze/syscallent.h @@ -340,7 +340,7 @@ { 2, 0, sys_set_robust_list, "set_robust_list" }, /* 311 */ { 3, 0, sys_get_robust_list, "get_robust_list" }, /* 312 */ { 6, TD, sys_splice, "splice" }, /* 313 */ - { 4, TD, sys_sync_file_range, "sync_file_range"}, /* 314 */ + { 6, TD, sys_sync_file_range, "sync_file_range"}, /* 314 */ { 4, TD, sys_tee, "tee" }, /* 315 */ { 5, TD, sys_vmsplice, "vmsplice" }, /* 316 */ { 6, TM, sys_move_pages, "move_pages" }, /* 317 */ diff --git a/linux/mips/syscallent-o32.h b/linux/mips/syscallent-o32.h index 5e6a2429..baca92f3 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 */ - { 4, TD, sys_sync_file_range, "sync_file_range" }, /* 4305 */ + { 6, 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/or1k/syscallent.h b/linux/or1k/syscallent.h index 697803d5..d1122126 100644 --- a/linux/or1k/syscallent.h +++ b/linux/or1k/syscallent.h @@ -82,7 +82,7 @@ { 0, 0, sys_sync, "sync" }, /* 81 */ { 1, TD, sys_fsync, "fsync" }, /* 82 */ { 1, TD, sys_fdatasync, "fdatasync" }, /* 83 */ - { 4, TD, sys_sync_file_range, "sync_file_range" }, /* 84 */ + { 6, TD, sys_sync_file_range, "sync_file_range" }, /* 84 */ { 2, TD, sys_timerfd_create, "timerfd_create" }, /* 85 */ { 4, TD, sys_timerfd_settime, "timerfd_settime" }, /* 86 */ { 2, TD, sys_timerfd_gettime, "timerfd_gettime" }, /* 87 */ diff --git a/linux/powerpc/syscallent.h b/linux/powerpc/syscallent.h index 6174900b..d84a8f48 100644 --- a/linux/powerpc/syscallent.h +++ b/linux/powerpc/syscallent.h @@ -334,7 +334,7 @@ { 3, TD|TS, sys_signalfd, "signalfd" }, /* 305 */ { 2, TD, sys_timerfd_create, "timerfd_create" }, /* 306 */ { 1, TD, sys_eventfd, "eventfd" }, /* 307 */ - { 4, TD, sys_sync_file_range, "sync_file_range" }, /* 308 */ + { 6, TD, sys_sync_file_range2, "sync_file_range2" }, /* 308 */ { 6, TD, sys_fallocate, "fallocate" }, /* 309 */ { 3, 0, sys_subpage_prot, "subpage_prot" }, /* 310 */ { 4, TD, sys_timerfd_settime, "timerfd_settime" }, /* 311 */ diff --git a/linux/s390/syscallent.h b/linux/s390/syscallent.h index 418711e2..719029f4 100644 --- a/linux/s390/syscallent.h +++ b/linux/s390/syscallent.h @@ -335,7 +335,7 @@ { 2, 0, sys_set_robust_list, "set_robust_list" }, /* 304 */ { 3, 0, sys_get_robust_list, "get_robust_list" }, /* 305 */ { 6, TD, sys_splice, "splice" }, /* 306 */ - { 4, TD, sys_sync_file_range, "sync_file_range" }, /* 307 */ + { 6, TD, sys_sync_file_range, "sync_file_range" }, /* 307 */ { 4, TD, sys_tee, "tee" }, /* 308 */ { 4, TD, sys_vmsplice, "vmsplice" }, /* 309 */ { 6, TM, sys_move_pages, "move_pages" }, /* 310 */ diff --git a/linux/sh/syscallent.h b/linux/sh/syscallent.h index 0189ddbc..b51fc6ff 100644 --- a/linux/sh/syscallent.h +++ b/linux/sh/syscallent.h @@ -344,7 +344,7 @@ { 2, 0, sys_set_robust_list, "set_robust_list"}, /* 311 */ { 3, 0, sys_get_robust_list, "get_robust_list"}, /* 312 */ { 6, TD, sys_splice, "splice" }, /* 313 */ - { 4, TD, sys_sync_file_range, "sync_file_range"}, /* 314 */ + { 6, TD, sys_sync_file_range, "sync_file_range"}, /* 314 */ { 4, TD, sys_tee, "tee" }, /* 315 */ { 5, TD, sys_vmsplice, "vmsplice" }, /* 316 */ { 6, TM, sys_move_pages, "move_pages" }, /* 317 */ diff --git a/linux/tile/syscallent.h b/linux/tile/syscallent.h index 6847d144..a0693342 100644 --- a/linux/tile/syscallent.h +++ b/linux/tile/syscallent.h @@ -82,7 +82,7 @@ { 0, 0, sys_sync, "sync" }, /* 81 */ { 1, TD, sys_fsync, "fsync" }, /* 82 */ { 1, TD, sys_fdatasync, "fdatasync" }, /* 83 */ - { 6, TD, sys_sync_file_range, "sync_file_range" }, /* 84 */ + { 4, TD, sys_sync_file_range2, "sync_file_range2" }, /* 84 */ { 2, TD, sys_timerfd_create, "timerfd_create" }, /* 85 */ { 4, TD, sys_timerfd_settime, "timerfd_settime" }, /* 86 */ { 2, TD, sys_timerfd_gettime, "timerfd_gettime" }, /* 87 */ diff --git a/linux/tile/syscallent1.h b/linux/tile/syscallent1.h index 1c11c8ec..9f205218 100644 --- a/linux/tile/syscallent1.h +++ b/linux/tile/syscallent1.h @@ -82,7 +82,7 @@ { 0, 0, sys_sync, "sync" }, /* 81 */ { 1, TD, sys_fsync, "fsync" }, /* 82 */ { 1, TD, sys_fdatasync, "fdatasync" }, /* 83 */ - { 6, TD, sys_sync_file_range, "sync_file_range" }, /* 84 */ + { 6, TD, sys_sync_file_range2, "sync_file_range2" }, /* 84 */ { 2, TD, sys_timerfd_create, "timerfd_create" }, /* 85 */ { 4, TD, sys_timerfd_settime, "timerfd_settime" }, /* 86 */ { 2, TD, sys_timerfd_gettime, "timerfd_gettime" }, /* 87 */ diff --git a/linux/xtensa/syscallent.h b/linux/xtensa/syscallent.h index ba9430d5..62cb40d1 100644 --- a/linux/xtensa/syscallent.h +++ b/linux/xtensa/syscallent.h @@ -316,7 +316,7 @@ { 6, 0, sys_process_vm_writev, "process_vm_writev"}, /* 323 */ { 5, TD|TF, sys_name_to_handle_at, "name_to_handle_at"}, /* 324 */ { 3, TD, sys_open_by_handle_at, "open_by_handle_at"}, /* 325 */ - { 6, TD, sys_sync_file_range, "sync_file_range"}, /* 326 */ + { 6, TD, sys_sync_file_range2, "sync_file_range2"}, /* 326 */ { 5, TD, sys_perf_event_open, "perf_event_open"}, /* 327 */ { 4, TP|TS, sys_rt_tgsigqueueinfo, "rt_tgsigqueueinfo"}, /* 328 */ { 2, 0, sys_clock_adjtime, "clock_adjtime" }, /* 329 */