Add valgrind-3.10.1-arm-process_vm_readv_writev.patch.

This commit is contained in:
Mark Wielaard 2015-06-03 14:21:18 +02:00
parent 8ebb5c6c60
commit a1fa848f9a
2 changed files with 31 additions and 1 deletions

View File

@ -0,0 +1,25 @@
commit ca799bc50411fe5a0cf79e60e97a2c3a0a2afdda
Author: mjw <mjw@a5019735-40e9-0310-863c-91ae7b9d1cf9>
Date: Tue Jun 2 18:17:44 2015 +0000
Enable process_vm_readv/writev syscall on arm32.
This makes none/tests/process_vm_readv_writev.vgtest pass on arm32.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15304 a5019735-40e9-0310-863c-91ae7b9d1cf9
diff --git a/coregrind/m_syswrap/syswrap-arm-linux.c b/coregrind/m_syswrap/syswrap-arm-linux.c
index f8f56f5..32c41ca 100644
--- a/coregrind/m_syswrap/syswrap-arm-linux.c
+++ b/coregrind/m_syswrap/syswrap-arm-linux.c
@@ -1214,6 +1214,10 @@ static SyscallTableEntry syscall_main_table[] = {
LINXY(__NR_clock_adjtime, sys_clock_adjtime), // 372
LINX_(__NR_syncfs, sys_syncfs), // 373
LINXY(__NR_sendmmsg, sys_sendmmsg), // 374
+
+ LINXY(__NR_process_vm_readv, sys_process_vm_readv), // 376
+ LINX_(__NR_process_vm_writev, sys_process_vm_writev),// 377
+
LINXY(__NR_getrandom, sys_getrandom), // 384
LINXY(__NR_memfd_create, sys_memfd_create) // 385
};

View File

@ -86,9 +86,12 @@ Patch11: valgrind-3.10-1-ppc64-sigpending.patch
# KDE#343012 - Unhandled syscall 319 (memfd_create)
Patch12: valgrind-3.10.1-memfd_create.patch
# 347389 - Add support for the syncfs system call.
# KDE#347389 - Add support for the syncfs system call.
Patch13: valgrind-3.10.1-syncfs.patch
# Upstream valgrind svn r15304
Patch14: valgrind-3.10.1-arm-process_vm_readv_writev.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
@ -200,6 +203,7 @@ Valgrind User Manual for details.
%patch11 -p1
%patch12 -p1
%patch13 -p1
%patch14 -p1
%build
# We need to use the software collection compiler and binutils if available.
@ -358,6 +362,7 @@ echo ===============END TESTING===============
* Wed Jun 03 2015 Mark Wielaard <mjw@redhat.com>
- Add valgrind-3.10.1-memfd_create.patch.
- Add valgrind-3.10.1-syncfs.patch.
- Add valgrind-3.10.1-arm-process_vm_readv_writev.patch.
* Fri May 22 2015 Mark Wielaard <mjw@redhat.com> - 3.10.1-8
- Disable extended regtest on arm. The gdb tests hang for unknown reasons.