forked from pool/strace
0b44e76647
- 0001-aarch64-fix-rt_sigreturn-decoding.patch, 0002-m68k-define-HAVE_SA_RESTORER.patch, 0003-Fix-decoding-of-mmap2-for-arm.patch, 0005-tests-select.test-handle-architectures-using-pselect.patch, 0006-aarch64-fix-ioctl-decoding.patch, 0007-m68k-fix-sigreturn-decoding.patch, 0008-Fix-crash-in-ipc_sem-test.patch, 0009-tests-ipc_-match-IPC_64-flag.patch, 0010-semctl-fix-indirect-syscall-decoding.patch, 0011-Fix-stat64-st_-acm-time-decoding-for-personalities-w.patch, 0012-tests-verify-that-all-patterns-match.patch, 0013-aarch64-properly-decode-generic-syscalls.patch, 0014-stat64-v.test-add-newfstatat-syscall-support.patch, 0015-tests-uid-use-fchown-instead-of-chown.patch: Patches from upstream to fix testsuite failure. - Enable libunwind support (strace -k). OBS-URL: https://build.opensuse.org/request/show/292570 OBS-URL: https://build.opensuse.org/package/show/devel:tools/strace?expand=0&rev=44
28 lines
944 B
Diff
28 lines
944 B
Diff
From dbadf7bcc8995612d5ef737047b909e868387e37 Mon Sep 17 00:00:00 2001
|
|
From: Andreas Schwab <schwab@suse.de>
|
|
Date: Mon, 9 Mar 2015 16:55:06 +0100
|
|
Subject: [PATCH 03/15] Fix decoding of mmap2 for arm
|
|
|
|
* 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.3
|
|
|