[PATCH] strace-x86_64: assign correct system call numbers to tee and sync_file_range
Fernando Luis Vázquez Cao
fernando at oss.ntt.co.jp
Tue Sep 2 10:29:30 UTC 2008
tee and sync_file_range had the syscall numbers interchanged on x86_64
which resulted in incorrect output and filtering behavior.
Signed-off-by: Fernando Luis Vazquez Cao <fernando at oss.ntt.co.jp>
---
diff -urNp strace-4.5.18/linux/x86_64/syscallent.h strace-4.5.18-fixes/linux/x86_64/syscallent.h
--- strace-4.5.18/linux/x86_64/syscallent.h 2008-07-18 10:22:26.000000000 +0900
+++ strace-4.5.18-fixes/linux/x86_64/syscallent.h 2008-09-02 19:12:47.000000000 +0900
@@ -274,8 +274,8 @@
{ 2, 0, printargs, "set_robust_list" }, /* 273 */
{ 3, 0, printargs, "get_robust_list" }, /* 274 */
{ 6, TD, printargs, "splice" }, /* 275 */
- { 4, TD, printargs, "sync_file_range" }, /* 276 */
- { 4, TD, printargs, "tee" }, /* 277 */
+ { 4, TD, printargs, "tee" }, /* 276 */
+ { 4, TD, printargs, "sync_file_range" }, /* 277 */
{ 4, TD, printargs, "vmsplice" }, /* 278 */
{ 6, 0, sys_move_pages, "move_pages" }, /* 279 */
{ 4, TD|TF, sys_utimensat, "utimensat" }, /* 280 */
More information about the Strace-devel
mailing list