summaryrefslogtreecommitdiff
path: root/package/strace/patches/patch-pathtrace_c
diff options
context:
space:
mode:
Diffstat (limited to 'package/strace/patches/patch-pathtrace_c')
-rw-r--r--package/strace/patches/patch-pathtrace_c10
1 files changed, 10 insertions, 0 deletions
diff --git a/package/strace/patches/patch-pathtrace_c b/package/strace/patches/patch-pathtrace_c
new file mode 100644
index 000000000..cbe0ac27d
--- /dev/null
+++ b/package/strace/patches/patch-pathtrace_c
@@ -0,0 +1,10 @@
+--- strace-4.11.orig/pathtrace.c 2015-11-23 00:21:35.000000000 +0100
++++ strace-4.11/pathtrace.c 2015-12-25 15:36:04.814035892 +0100
+@@ -216,6 +216,7 @@ pathtrace_match(struct tcb *tcp)
+ case SEN_mmap:
+ case SEN_mmap_4koff:
+ case SEN_mmap_pgoff:
++ case SEN_ARCH_mmap:
+ /* x, x, x, x, fd */
+ return fdmatch(tcp, tcp->u_arg[4]);
+