Blob Blame History Raw
commit 143af81290bd49c76c46267d64baea896df50c40
Author: sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9>
Date:   Mon Nov 24 16:19:48 2014 +0000

    Enable sys_flock on arm64-linux.
    
    
    git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14777 a5019735-40e9-0310-863c-91ae7b9d1cf9

diff --git a/coregrind/m_syswrap/syswrap-arm64-linux.c b/coregrind/m_syswrap/syswrap-arm64-linux.c
index cd27ad2..d90dcb6 100644
--- a/coregrind/m_syswrap/syswrap-arm64-linux.c
+++ b/coregrind/m_syswrap/syswrap-arm64-linux.c
@@ -880,6 +880,7 @@ static SyscallTableEntry syscall_main_table[] = {
    LINX_(__NR_inotify_add_watch, sys_inotify_add_watch), // 27
    LINX_(__NR_inotify_rm_watch,  sys_inotify_rm_watch),  // 28
    LINXY(__NR_ioctl,             sys_ioctl),             // 29
+   GENX_(__NR_flock,             sys_flock),             // 32
    LINX_(__NR_mknodat,           sys_mknodat),           // 33
    LINX_(__NR_mkdirat,           sys_mkdirat),           // 34
    LINX_(__NR_unlinkat,          sys_unlinkat),          // 35
@@ -1183,7 +1184,6 @@ static SyscallTableEntry syscall_main_table[] = {
 //ZZ    LINXY(__NR__llseek,           sys_llseek),         // 140
 //ZZ    GENXY(__NR_getdents,          sys_getdents),       // 141
 //ZZ    GENX_(__NR__newselect,        sys_select),         // 142
-//ZZ    GENX_(__NR_flock,             sys_flock),          // 143
 //ZZ 
 //ZZ    LINXY(__NR__sysctl,           sys_sysctl),         // 149
 //ZZ 
commit 9ae3282faa77f89c43fdd97186875ff8da90fff9
Author: sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9>
Date:   Thu Feb 5 15:28:28 2015 +0000

    Enable sys_mbind, sys_get_mempolicy, sys_set_mempolicy on arm64-linux.
    Patch from Hideaki Kimura (hideaki.kimura@gmail.com).  Fixes #342038.
    
    
    git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14907 a5019735-40e9-0310-863c-91ae7b9d1cf9

diff --git a/coregrind/m_syswrap/syswrap-arm64-linux.c b/coregrind/m_syswrap/syswrap-arm64-linux.c
index a72392f..16df466 100644
--- a/coregrind/m_syswrap/syswrap-arm64-linux.c
+++ b/coregrind/m_syswrap/syswrap-arm64-linux.c
@@ -1032,6 +1032,9 @@ static SyscallTableEntry syscall_main_table[] = {
    GENX_(__NR_mlock,             sys_mlock),             // 228
    GENX_(__NR_mlockall,          sys_mlockall),          // 230
    GENX_(__NR_madvise,           sys_madvise),           // 233
+   LINX_(__NR_mbind,             sys_mbind),             // 235
+   LINXY(__NR_get_mempolicy,     sys_get_mempolicy),     // 236
+   LINX_(__NR_set_mempolicy,     sys_set_mempolicy),     // 237
    GENXY(__NR_wait4,             sys_wait4),             // 260
 
    LINXY(__NR_process_vm_readv,  sys_process_vm_readv),  // 270
commit 9ee89cddf19b6ab8f45e8546ef73d3e4e997ad2f
Author: mjw <mjw@a5019735-40e9-0310-863c-91ae7b9d1cf9>
Date:   Sat Feb 7 22:36:48 2015 +0000

    Bug 343732 - Unhandled syscall 144 (setgid) on aarch64.
    
    git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14916 a5019735-40e9-0310-863c-91ae7b9d1cf9

diff --git a/coregrind/m_syswrap/syswrap-arm64-linux.c b/coregrind/m_syswrap/syswrap-arm64-linux.c
index 16df466..ed66227 100644
--- a/coregrind/m_syswrap/syswrap-arm64-linux.c
+++ b/coregrind/m_syswrap/syswrap-arm64-linux.c
@@ -959,6 +959,7 @@ static SyscallTableEntry syscall_main_table[] = {
    GENX_(__NR_setpriority,       sys_setpriority),       // 140
    GENX_(__NR_getpriority,       sys_getpriority),       // 141
    GENX_(__NR_setregid,          sys_setregid),          // 143
+   GENX_(__NR_setgid,            sys_setgid),            // 144
    GENX_(__NR_setreuid,          sys_setreuid),          // 145
    LINX_(__NR_setresuid,         sys_setresuid),         // 147
    LINXY(__NR_getresuid,         sys_getresuid),         // 148
@@ -1091,7 +1092,6 @@ static SyscallTableEntry syscall_main_table[] = {
 //ZZ    LINXY(__NR_pipe,              sys_pipe),           // 42
 //ZZ //   GENX_(__NR_prof,              sys_ni_syscall),     // 44
 
-//ZZ    LINX_(__NR_setgid,            sys_setgid16),       // 46
 //ZZ    LINX_(__NR_getgid,            sys_getgid16),       // 47
 //ZZ //zz    //   (__NR_signal,            sys_signal),         // 48 */* (ANSI C)
 //ZZ    LINX_(__NR_geteuid,           sys_geteuid16),      // 49
commit ae70db15b2f8e013bd8a3874d3d6716eb5b8e48c
Author: mjw <mjw@a5019735-40e9-0310-863c-91ae7b9d1cf9>
Date:   Sat Feb 7 22:58:51 2015 +0000

    Bug 343733 Unhandled syscall 187 (msgctl and related) on aarch64
    
    git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14917 a5019735-40e9-0310-863c-91ae7b9d1cf9

diff --git a/coregrind/m_syswrap/syswrap-arm64-linux.c b/coregrind/m_syswrap/syswrap-arm64-linux.c
index ed66227..c23e6f7 100644
--- a/coregrind/m_syswrap/syswrap-arm64-linux.c
+++ b/coregrind/m_syswrap/syswrap-arm64-linux.c
@@ -992,6 +992,10 @@ static SyscallTableEntry syscall_main_table[] = {
    LINXY(__NR_mq_timedreceive,   sys_mq_timedreceive),   // 183
    LINX_(__NR_mq_notify,         sys_mq_notify),         // 184
    LINXY(__NR_mq_getsetattr,     sys_mq_getsetattr),     // 185
+   LINX_(__NR_msgget,            sys_msgget),            // 186
+   LINXY(__NR_msgctl,            sys_msgctl),            // 187
+   LINXY(__NR_msgrcv,            sys_msgrcv),            // 188
+   LINX_(__NR_msgsnd,            sys_msgsnd),            // 189
    LINX_(__NR_semget,            sys_semget),            // 190
    LINXY(__NR_semctl,            sys_semctl),            // 191
    LINX_(__NR_semtimedop,        sys_semtimedop),        // 192
@@ -1323,10 +1327,6 @@ static SyscallTableEntry syscall_main_table[] = {
 //ZZ    LINXY(__NR_recvfrom,          sys_recvfrom),       // 292
 //ZZ    LINX_(__NR_semget,            sys_semget),         // 299
 //ZZ    LINXY(__NR_semctl,            sys_semctl),         // 300
-//ZZ    LINX_(__NR_msgget,            sys_msgget),         
-//ZZ    LINX_(__NR_msgsnd,            sys_msgsnd),          
-//ZZ    LINXY(__NR_msgrcv,            sys_msgrcv),         
-//ZZ    LINXY(__NR_msgctl,            sys_msgctl),         // 304
 //ZZ 
 //ZZ    LINX_(__NR_request_key,       sys_request_key),    // 287
 //ZZ //   LINX_(__NR_ioprio_set,        sys_ioprio_set),     // 289
commit c79fe53e9e31d5c8e5d2ad3a0943b21e84129ccb
Author: mjw <mjw@a5019735-40e9-0310-863c-91ae7b9d1cf9>
Date:   Tue Feb 10 13:39:04 2015 +0000

    Bug #344007 accept4 syscall unhandled on arm64 (242) and ppc64 (344)
    
    ppc64 might fall back to socketcall in some cases, but arm64 always uses
    accept4 syscall directly. Some (confusing) background on when/how glibc
    (wrongly) decides to use a direct accept4 or the socketcall system call:
    https://sourceware.org/ml/libc-alpha/2013-12/msg00014.html
    
    git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14926 a5019735-40e9-0310-863c-91ae7b9d1cf9

diff --git a/coregrind/m_syswrap/syswrap-arm64-linux.c b/coregrind/m_syswrap/syswrap-arm64-linux.c
index c23e6f7..1f9670a 100644
--- a/coregrind/m_syswrap/syswrap-arm64-linux.c
+++ b/coregrind/m_syswrap/syswrap-arm64-linux.c
@@ -1040,6 +1040,7 @@ static SyscallTableEntry syscall_main_table[] = {
    LINX_(__NR_mbind,             sys_mbind),             // 235
    LINXY(__NR_get_mempolicy,     sys_get_mempolicy),     // 236
    LINX_(__NR_set_mempolicy,     sys_set_mempolicy),     // 237
+   LINXY(__NR_accept4,           sys_accept4),           // 242
    GENXY(__NR_wait4,             sys_wait4),             // 260
 
    LINXY(__NR_process_vm_readv,  sys_process_vm_readv),  // 270
@@ -1379,8 +1380,6 @@ static SyscallTableEntry syscall_main_table[] = {
 //ZZ    LINXY(__NR_rt_tgsigqueueinfo, sys_rt_tgsigqueueinfo),// 363
 //ZZ    LINXY(__NR_perf_event_open,   sys_perf_event_open),  // 364
 //ZZ 
-//ZZ    LINXY(__NR_accept4,           sys_accept4),          // 366
-//ZZ 
 //ZZ    LINXY(__NR_name_to_handle_at, sys_name_to_handle_at),// 370
 //ZZ    LINXY(__NR_open_by_handle_at, sys_open_by_handle_at),// 371
 //ZZ    LINXY(__NR_clock_adjtime,     sys_clock_adjtime)     // 372