From: Mark Wielaard Date: Sun, 3 Apr 2016 20:33:11 +0000 (+0000) Subject: Bug 361354 ppc64[le]: wire up separate socketcalls system calls X-Git-Tag: svn/VALGRIND_3_12_0~178 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d60fb6bdfeb55fedf78613de049595b112c7fc1e;p=thirdparty%2Fvalgrind.git Bug 361354 ppc64[le]: wire up separate socketcalls system calls Newer glibc will use separate socket related syscalls instead of using the multiplexing socketcall systemcall. On Fedora rawhide this causes several tests to fail. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15845 --- diff --git a/NEWS b/NEWS index 428b62f7d8..e5a3ca3009 100644 --- a/NEWS +++ b/NEWS @@ -89,6 +89,7 @@ where XXXXXX is the bug number as listed below. 360425 arm64 unsupported instruction ldpsw 360519 none/tests/arm64/memory.vgtest might fail with newer gcc 360752 raise the number of reserved fds in m_main.c from 10 to 12 +361354 ppc64[le]: wire up separate socketcalls system calls n-i-bz Fix incorrect (or infinite loop) unwind on RHEL7 x86 and amd64 n-i-bz massif --pages-as-heap=yes does not report peak caused by mmap+munmap diff --git a/coregrind/m_syswrap/syswrap-ppc64-linux.c b/coregrind/m_syswrap/syswrap-ppc64-linux.c index 77668c7b20..6d5713b6dc 100644 --- a/coregrind/m_syswrap/syswrap-ppc64-linux.c +++ b/coregrind/m_syswrap/syswrap-ppc64-linux.c @@ -1151,6 +1151,23 @@ static SyscallTableEntry syscall_table[] = { LINX_(__NR_pwritev, sys_pwritev), // 321 LINXY(__NR_rt_tgsigqueueinfo, sys_rt_tgsigqueueinfo),// 322 + LINXY(__NR_socket, sys_socket), // 326 + LINX_(__NR_bind, sys_bind), // 327 + LINX_(__NR_connect, sys_connect), // 328 + LINX_(__NR_listen, sys_listen), // 329 + LINXY(__NR_accept, sys_accept), // 330 + LINXY(__NR_getsockname, sys_getsockname), // 331 + LINXY(__NR_getpeername, sys_getpeername), // 332 + LINXY(__NR_socketpair, sys_socketpair), // 333 + LINX_(__NR_send, sys_send), // 334 + LINX_(__NR_sendto, sys_sendto), // 335 + LINXY(__NR_recv, sys_recv), // 336 + LINXY(__NR_recvfrom, sys_recvfrom), // 337 + LINX_(__NR_shutdown, sys_shutdown), // 338 + LINX_(__NR_setsockopt, sys_setsockopt), // 339 + LINXY(__NR_getsockopt, sys_getsockopt), // 340 + LINX_(__NR_sendmsg, sys_sendmsg), // 341 + LINXY(__NR_recvmsg, sys_recvmsg), // 342 LINXY(__NR_recvmmsg, sys_recvmmsg), // 343 LINXY(__NR_accept4, sys_accept4), // 344