[PATCH] Fix decoding of mmap2 for arm

Andreas Schwab schwab at suse.de
Mon Mar 9 16:00:40 UTC 2015


* syscallent.h (mmap2): Decode with sys_mmap_4koff, not
sys_mmap_pgoff.
---
 linux/arm/syscallent.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/linux/arm/syscallent.h b/linux/arm/syscallent.h
index 52aed9e..b66a5a2 100644
--- a/linux/arm/syscallent.h
+++ b/linux/arm/syscallent.h
@@ -218,7 +218,7 @@
 [189] = { 5,	0,		sys_putpmsg,			"putpmsg"		},
 [190] = { 0,	TP,		sys_vfork,			"vfork"			},
 [191] = { 2,	0,		sys_getrlimit,			"ugetrlimit"		},
-[192] = { 6,	TD|TM|SI,	sys_mmap_pgoff,			"mmap2"			},
+[192] = { 6,	TD|TM|SI,	sys_mmap_4koff,			"mmap2"			},
 [193] = { 4,	TF,		sys_truncate64,			"truncate64"		},
 [194] = { 4,	TD,		sys_ftruncate64,		"ftruncate64"		},
 [195] = { 2,	TF,		sys_stat64,			"stat64"		},
-- 
2.3.2

-- 
Andreas Schwab, SUSE Labs, schwab at suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."




More information about the Strace-devel mailing list