From ba77b5dab85edd90a138d2e3a5e5f80e182df75e Mon Sep 17 00:00:00 2001 From: Bryan Hundven Date: Tue, 1 Sep 2015 19:38:10 -0700 Subject: strace: Add strace-4.10 patches from debian https://sources.debian.net/src/strace/4.10-3/debian/patches/ Signed-off-by: Bryan Hundven --- patches/strace/4.10/002_arm_mmap2.patch | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 patches/strace/4.10/002_arm_mmap2.patch (limited to 'patches/strace/4.10/002_arm_mmap2.patch') diff --git a/patches/strace/4.10/002_arm_mmap2.patch b/patches/strace/4.10/002_arm_mmap2.patch new file mode 100644 index 00000000..41953e25 --- /dev/null +++ b/patches/strace/4.10/002_arm_mmap2.patch @@ -0,0 +1,22 @@ +commit dbadf7bcc8995612d5ef737047b909e868387e37 +Author: Andreas Schwab +Date: Mon Mar 9 16:55:06 2015 +0100 + + Fix decoding of mmap2 for arm + + * syscallent.h (mmap2): Decode with sys_mmap_4koff, not + sys_mmap_pgoff. + +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" }, -- cgit v1.2.3