From: Mark Wielaard Date: Tue, 4 Nov 2014 13:43:21 +0000 (+0000) Subject: Bug 340630 arm64: fchmod (52) and fchown (55) syscalls not recognized. X-Git-Tag: svn/VALGRIND_3_11_0~862 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a83732ca722ea9be90b9bd0ce13aa5baa5c42121;p=thirdparty%2Fvalgrind.git Bug 340630 arm64: fchmod (52) and fchown (55) syscalls not recognized. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14686 --- diff --git a/NEWS b/NEWS index a9497b5432..557a253976 100644 --- a/NEWS +++ b/NEWS @@ -65,6 +65,7 @@ where XXXXXX is the bug number as listed below. (50), chroot (51), fchownat (54) 340430 Fix some grammatical weirdness in the manual. 340509 arm64: unhandled instruction fcvtas +340630 arm64: fchmod (52) and fchown (55) syscalls not recognized 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 54238ede77..f8a59c1aac 100644 --- a/coregrind/m_syswrap/syswrap-arm64-linux.c +++ b/coregrind/m_syswrap/syswrap-arm64-linux.c @@ -899,8 +899,10 @@ static SyscallTableEntry syscall_main_table[] = { GENX_(__NR_chdir, sys_chdir), // 49 GENX_(__NR_fchdir, sys_fchdir), // 50 GENX_(__NR_chroot, sys_chroot), // 51 + GENX_(__NR_fchmod, sys_fchmod), // 52 LINX_(__NR_fchmodat, sys_fchmodat), // 53 LINX_(__NR_fchownat, sys_fchownat), // 54 + GENX_(__NR_fchown, sys_fchown), // 55 LINXY(__NR_openat, sys_openat), // 56 GENXY(__NR_close, sys_close), // 57 LINXY(__NR_pipe2, sys_pipe2), // 59 @@ -1129,7 +1131,6 @@ static SyscallTableEntry syscall_main_table[] = { //ZZ GENXY(__NR_munmap, sys_munmap), // 91 //ZZ GENX_(__NR_truncate, sys_truncate), // 92 //ZZ GENX_(__NR_ftruncate, sys_ftruncate), // 93 -//ZZ GENX_(__NR_fchmod, sys_fchmod), // 94 //ZZ //ZZ LINX_(__NR_fchown, sys_fchown16), // 95 //ZZ // GENX_(__NR_profil, sys_ni_syscall), // 98 @@ -1237,7 +1238,6 @@ static SyscallTableEntry syscall_main_table[] = { //ZZ //ZZ GENXY(__NR_getgroups32, sys_getgroups), // 205 //ZZ GENX_(__NR_setgroups32, sys_setgroups), // 206 -//ZZ GENX_(__NR_fchown32, sys_fchown), // 207 //ZZ LINX_(__NR_setresuid32, sys_setresuid), // 208 //ZZ LINXY(__NR_getresuid32, sys_getresuid), // 209 //ZZ