Blame valgrind-3.10.1-arm-process_vm_readv_writev.patch

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