summaryrefslogtreecommitdiff
path: root/packages/strace/4.10/002_arm_mmap2.patch
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2017-07-13 07:38:03 (GMT)
committerGitHub <noreply@github.com>2017-07-13 07:38:03 (GMT)
commit45c5bb0f484cba724be2c6105801dcce9a1a82d9 (patch)
tree8fd1c8eaa2ef203009d72b6ca6348611dcc5ee1c /packages/strace/4.10/002_arm_mmap2.patch
parent8f8e131d566af1f577d8fb6e62e6f121b7955472 (diff)
parentb32fcf7c1eea890a2bd3f88487f818ba241aabb1 (diff)
Merge pull request #767 from stilor/packages
Packages
Diffstat (limited to 'packages/strace/4.10/002_arm_mmap2.patch')
-rw-r--r--packages/strace/4.10/002_arm_mmap2.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/packages/strace/4.10/002_arm_mmap2.patch b/packages/strace/4.10/002_arm_mmap2.patch
new file mode 100644
index 0000000..41953e2
--- /dev/null
+++ b/packages/strace/4.10/002_arm_mmap2.patch
@@ -0,0 +1,22 @@
+commit dbadf7bcc8995612d5ef737047b909e868387e37
+Author: Andreas Schwab <schwab@suse.de>
+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" },