From: Mark Wielaard Date: Thu, 13 Nov 2014 13:03:25 +0000 (+0000) Subject: Bug 340922 arm64: unhandled getgroups/setgroups syscalls. X-Git-Tag: svn/VALGRIND_3_11_0~832 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=560e558b888ced2f06f32b40bde9812946fba38f;p=thirdparty%2Fvalgrind.git Bug 340922 arm64: unhandled getgroups/setgroups syscalls. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14716 --- diff --git a/NEWS b/NEWS index b6f36d7e1b..5b2c99645f 100644 --- a/NEWS +++ b/NEWS @@ -73,6 +73,7 @@ where XXXXXX is the bug number as listed below. 340630 arm64: fchmod (52) and fchown (55) syscalls not recognized 340632 arm64: unhandled instruction fcvtas 340788 warning: unhandled syscall: 318 (getrandom) +340922 arm64: unhandled getgroups/setgroups syscalls n-i-bz Provide implementations of certain compiler builtins to support compilers who may not provide those n-i-bz Old STABS code is still being compiled, but never used. Remove it. diff --git a/coregrind/m_syswrap/syswrap-arm64-linux.c b/coregrind/m_syswrap/syswrap-arm64-linux.c index 59e1cf6fff..cd27ad2856 100644 --- a/coregrind/m_syswrap/syswrap-arm64-linux.c +++ b/coregrind/m_syswrap/syswrap-arm64-linux.c @@ -968,6 +968,8 @@ static SyscallTableEntry syscall_main_table[] = { GENX_(__NR_getpgid, sys_getpgid), // 155 GENX_(__NR_getsid, sys_getsid), // 156 GENX_(__NR_setsid, sys_setsid), // 157 + GENXY(__NR_getgroups, sys_getgroups), // 158 + GENX_(__NR_setgroups, sys_setgroups), // 159 GENXY(__NR_uname, sys_newuname), // 160 GENXY(__NR_getrlimit, sys_old_getrlimit), // 163 GENX_(__NR_setrlimit, sys_setrlimit), // 164 @@ -1237,8 +1239,6 @@ static SyscallTableEntry syscall_main_table[] = { //ZZ GENX_(__NR_setreuid32, sys_setreuid), // 203 //ZZ GENX_(__NR_setregid32, sys_setregid), // 204 //ZZ -//ZZ GENXY(__NR_getgroups32, sys_getgroups), // 205 -//ZZ GENX_(__NR_setgroups32, sys_setgroups), // 206 //ZZ LINX_(__NR_setresuid32, sys_setresuid), // 208 //ZZ LINXY(__NR_getresuid32, sys_getresuid), // 209 //ZZ