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/NEWS b/NEWS
index 198c84c..67284ca 100644
--- a/NEWS
+++ b/NEWS
@@ -87,6 +87,7 @@
 343306  OS X 10.10: UNKNOWN mach_msg unhandled MACH_SEND_TRAILER option
 343332  Unhandled instruction 0x9E310021 (fcvtmu) on aarch64
 343732  Unhandled syscall 144 (setgid) on aarch64
+343733  Unhandled syscall 187 (msgctl and related) on aarch64
 343802  s390x: Fix false positives "conditional jump or move depends on
         unitialised value(s)"
 n-i-bz  Provide implementations of certain compiler builtins to support
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 @@
    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 @@
 //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