[PATCH 09/11] Use sys_fadvise64 as a decoder for fadvise64 syscall on x32

Eugene Syromyatnikov evgsyr at gmail.com
Wed Sep 21 21:21:42 UTC 2016


fadvise_64_64 decoder previously employed but it has different sign of
the "len" argument (loff_t against size_t).

* linux/x32/syscallent.h: Change SEN(fadvise64_64) to SEN(fadvise64) for
  record 221.
---
 linux/x32/syscallent.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/linux/x32/syscallent.h b/linux/x32/syscallent.h
index 305cbbc..10443d3 100644
--- a/linux/x32/syscallent.h
+++ b/linux/x32/syscallent.h
@@ -219,7 +219,7 @@
 [218] = { 1,	0,		SEN(set_tid_address),		"set_tid_address"	},
 [219] = { 0,	0,		SEN(restart_syscall),		"restart_syscall"	},
 [220] = { 4,	TI,		SEN(semtimedop),		"semtimedop"		},
-[221] = { 4,	TD,		SEN(fadvise64_64),		"fadvise64"		},
+[221] = { 4,	TD,		SEN(fadvise64),			"fadvise64"		},
 [222] = { 3,	0,		SEN(printargs),			"64:timer_create"	},
 [223] = { 4,	0,		SEN(timer_settime),		"timer_settime"		},
 [224] = { 2,	0,		SEN(timer_gettime),		"timer_gettime"		},
-- 
1.7.10.4





More information about the Strace-devel mailing list