diff --git a/NEWS b/NEWS index 73f69e155..10129092f 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 ee224caa5..10872fad8 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