From: Mark Wielaard Date: Sun, 9 Aug 2015 22:37:52 +0000 (+0000) Subject: Bug #351140 arm64 syscalls setuid (146) and setresgid (149) not implemented. X-Git-Tag: svn/VALGRIND_3_11_0~140 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a398bfb8637fc0b253acaa557b5e8142520b4c4c;p=thirdparty%2Fvalgrind.git Bug #351140 arm64 syscalls setuid (146) and setresgid (149) not implemented. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15517 --- diff --git a/NEWS b/NEWS index 73f69e1559..10129092f7 100644 --- a/NEWS +++ b/NEWS @@ -279,6 +279,7 @@ where XXXXXX is the bug number as listed below. 350811 Remove reference to --db-attach which has been removed. 350813 Use handwritten memcheck assembly helpers on x86/Solaris in addition to {arm,x86}-linux 350854 hard-to-understand code in VG_(load_ELF)() +351140 arm64 syscalls setuid (146) and setresgid (149) not implemented 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 ee224caa5c..10872fad86 100644 --- a/coregrind/m_syswrap/syswrap-arm64-linux.c +++ b/coregrind/m_syswrap/syswrap-arm64-linux.c @@ -957,8 +957,10 @@ static SyscallTableEntry syscall_main_table[] = { GENX_(__NR_setregid, sys_setregid), // 143 GENX_(__NR_setgid, sys_setgid), // 144 GENX_(__NR_setreuid, sys_setreuid), // 145 + GENX_(__NR_setuid, sys_setuid), // 146 LINX_(__NR_setresuid, sys_setresuid), // 147 LINXY(__NR_getresuid, sys_getresuid), // 148 + LINX_(__NR_setresgid, sys_setresgid), // 149 LINXY(__NR_getresgid, sys_getresgid), // 150 GENXY(__NR_times, sys_times), // 153 GENX_(__NR_setpgid, sys_setpgid), // 154