Skip to content

Commit 52e770f

Browse files
author
mjw
committed
Bug #344307 2 unhandled syscalls on aarch64/arm64: umount2(39), mount (40)
Reporter: Branislav Blaskovic, [email protected] Patch: Robin Hack, [email protected] Test: Miloš Prchlík, [email protected] git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14944 a5019735-40e9-0310-863c-91ae7b9d1cf9
1 parent 995a982 commit 52e770f

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

NEWS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ where XXXXXX is the bug number as listed below.
100100
344007 accept4 syscall unhandled on arm64 (242) and ppc64 (344)
101101
344279 syscall sendmmsg on arm64 (269) and ppc32/64 (349) unhandled
102102
344295 syscall recvmmsg on arm64 (243) and ppc32/64 (343) unhandled
103+
344307 2 unhandled syscalls on aarch64/arm64: umount2(39), mount (40)
103104
n-i-bz Provide implementations of certain compiler builtins to support
104105
compilers who may not provide those
105106
n-i-bz Old STABS code is still being compiled, but never used. Remove it.

coregrind/m_syswrap/syswrap-arm64-linux.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -887,6 +887,9 @@ static SyscallTableEntry syscall_main_table[] = {
887887
LINX_(__NR_linkat, sys_linkat), // 37
888888
LINX_(__NR_renameat, sys_renameat), // 38
889889

890+
LINX_(__NR_umount2, sys_umount), // 39
891+
LINX_(__NR_mount, sys_mount), // 40
892+
890893
// FIXME IS THIS CORRECT? it may well not be.
891894
GENXY(__NR3264_statfs, sys_statfs), // 43
892895
GENXY(__NR3264_fstatfs, sys_fstatfs), // 44
@@ -1075,7 +1078,6 @@ static SyscallTableEntry syscall_main_table[] = {
10751078
//ZZ LINX_(__NR_lseek, sys_lseek), // 19
10761079
//ZZ
10771080
//ZZ GENX_(__NR_getpid, sys_getpid), // 20
1078-
//ZZ LINX_(__NR_mount, sys_mount), // 21
10791081
//ZZ LINX_(__NR_umount, sys_oldumount), // 22
10801082
//ZZ LINX_(__NR_setuid, sys_setuid16), // 23 ## P
10811083
//ZZ LINX_(__NR_getuid, sys_getuid16), // 24 ## P
@@ -1107,7 +1109,6 @@ static SyscallTableEntry syscall_main_table[] = {
11071109
//ZZ
11081110
//ZZ LINX_(__NR_getegid, sys_getegid16), // 50
11091111
//ZZ GENX_(__NR_acct, sys_acct), // 51
1110-
//ZZ LINX_(__NR_umount2, sys_umount), // 52
11111112
//ZZ // GENX_(__NR_lock, sys_ni_syscall), // 53
11121113
//ZZ
11131114
//ZZ LINXY(__NR_fcntl, sys_fcntl), // 55

0 commit comments

Comments
 (0)