Add valgrind-3.10.0-aarch64-getsetsid.patch
This commit is contained in:
parent
b722ea0bf3
commit
473a4577fc
29
valgrind-3.10.0-aarch64-getsetsid.patch
Normal file
29
valgrind-3.10.0-aarch64-getsetsid.patch
Normal file
@ -0,0 +1,29 @@
|
||||
diff --git a/coregrind/m_syswrap/syswrap-arm64-linux.c b/coregrind/m_syswrap/syswrap-arm64-linux.c
|
||||
index dd13bda..045b9b9 100644
|
||||
--- a/coregrind/m_syswrap/syswrap-arm64-linux.c
|
||||
+++ b/coregrind/m_syswrap/syswrap-arm64-linux.c
|
||||
@@ -956,6 +956,8 @@ static SyscallTableEntry syscall_main_table[] = {
|
||||
GENXY(__NR_times, sys_times), // 153
|
||||
GENX_(__NR_setpgid, sys_setpgid), // 154
|
||||
GENX_(__NR_getpgid, sys_getpgid), // 155
|
||||
+ GENX_(__NR_getsid, sys_getsid), // 156
|
||||
+ GENX_(__NR_setsid, sys_setsid), // 157
|
||||
GENXY(__NR_uname, sys_newuname), // 160
|
||||
GENXY(__NR_getrlimit, sys_old_getrlimit), // 163
|
||||
GENX_(__NR_setrlimit, sys_setrlimit), // 164
|
||||
@@ -1092,7 +1094,6 @@ static SyscallTableEntry syscall_main_table[] = {
|
||||
//ZZ GENX_(__NR_getppid, sys_getppid), // 64
|
||||
//ZZ
|
||||
//ZZ GENX_(__NR_getpgrp, sys_getpgrp), // 65
|
||||
-//ZZ GENX_(__NR_setsid, sys_setsid), // 66
|
||||
//ZZ LINXY(__NR_sigaction, sys_sigaction), // 67
|
||||
//ZZ //zz // (__NR_sgetmask, sys_sgetmask), // 68 */* (ANSI C)
|
||||
//ZZ //zz // (__NR_ssetmask, sys_ssetmask), // 69 */* (ANSI C)
|
||||
@@ -1176,7 +1177,6 @@ static SyscallTableEntry syscall_main_table[] = {
|
||||
//ZZ GENX_(__NR_flock, sys_flock), // 143
|
||||
//ZZ GENX_(__NR_msync, sys_msync), // 144
|
||||
//ZZ
|
||||
-//ZZ GENX_(__NR_getsid, sys_getsid), // 147
|
||||
//ZZ GENX_(__NR_fdatasync, sys_fdatasync), // 148
|
||||
//ZZ LINXY(__NR__sysctl, sys_sysctl), // 149
|
||||
//ZZ
|
@ -65,6 +65,9 @@ Patch5: valgrind-3.10.0-old-ppc32-instr-magic.patch
|
||||
# KDE#339853 arm64 times syscall unknown
|
||||
Patch6: valgrind-3.10.0-aarch64-times.patch
|
||||
|
||||
# KDE#339855 arm64 unhandled getsid/setsid syscalls.
|
||||
Patch7: valgrind-3.10.0-aarch64-getsetsid.patch
|
||||
|
||||
%if %{build_multilib}
|
||||
# Ensure glibc{,-devel} is installed for both multilib arches
|
||||
BuildRequires: /lib/libc.so.6 /usr/lib/libc.so /lib64/libc.so.6 /usr/lib64/libc.so
|
||||
@ -169,6 +172,7 @@ Valgrind User Manual for details.
|
||||
%patch4 -p1
|
||||
%patch5 -p1
|
||||
%patch6 -p1
|
||||
%patch7 -p1
|
||||
|
||||
%build
|
||||
# We need to use the software collection compiler and binutils if available.
|
||||
@ -319,6 +323,7 @@ echo ===============END TESTING===============
|
||||
%changelog
|
||||
* Sat Oct 11 2014 Mark Wielaard <mjw@redhat.com>
|
||||
- Add valgrind-3.10.0-aarch64-times.patch
|
||||
- Add valgrind-3.10.0-aarch64-getsetsid.patch
|
||||
|
||||
* Mon Sep 15 2014 Mark Wielaard <mjw@redhat.com> - 3.10.0-3
|
||||
- Add valgrind-3.10.0-old-ppc32-instr-magic.patch.
|
||||
|
Loading…
Reference in New Issue
Block a user