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
27 lines
797 B
Diff
27 lines
797 B
Diff
From d76d3069526c348e6fe5d40bbbceb2ae4a928d16 Mon Sep 17 00:00:00 2001
|
|
From: "Dmitry V. Levin" <ldv@altlinux.org>
|
|
Date: Wed, 11 Mar 2015 14:32:25 +0000
|
|
Subject: [PATCH 01/15] aarch64: fix rt_sigreturn decoding
|
|
|
|
* sigreturn.c (sys_sigreturn) [AARCH64]: Fix personality check.
|
|
---
|
|
sigreturn.c | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/sigreturn.c b/sigreturn.c
|
|
index 648bd0a..c253a0c 100644
|
|
--- a/sigreturn.c
|
|
+++ b/sigreturn.c
|
|
@@ -23,7 +23,7 @@ sys_sigreturn(struct tcb *tcp)
|
|
# define OFFSETOF_STRUCT_UCONTEXT_UC_SIGMASK (5 * 4 + SIZEOF_STRUCT_SIGCONTEXT)
|
|
const long addr =
|
|
# ifdef AARCH64
|
|
- current_personality == 0 ?
|
|
+ current_personality == 1 ?
|
|
(*aarch64_sp_ptr + SIZEOF_STRUCT_SIGINFO +
|
|
offsetof(struct ucontext, uc_sigmask)) :
|
|
# endif
|
|
--
|
|
2.3.3
|
|
|