]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Enable getcpu on arm 32
authorIgor Nunes <igor.snunes@gmail.com>
Fri, 20 Mar 2020 17:12:13 +0000 (17:12 +0000)
committerMark Wielaard <mark@klomp.org>
Wed, 19 Apr 2023 21:54:28 +0000 (23:54 +0200)
https://bugs.kde.org/show_bug.cgi?id=419054

NEWS
coregrind/m_syswrap/syswrap-arm-linux.c

diff --git a/NEWS b/NEWS
index 4b18ad9d0a58f054efb1b4cec85c3991dc397297..1b9bdb869ddaf266964a3ce1f0ace11b9f173d10 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -127,6 +127,7 @@ are not entered into bugzilla tend to get forgotten about or ignored.
 374596  inconsistent RDTSCP support on x86_64
 392331  Spurious lock not held error from inside pthread_cond_timedwait
 400793  pthread_rwlock_timedwrlock false positive
+419054  Unhandled syscall getcpu on arm32
 433873  openat2 syscall unimplemented on Linux
 434057  Add stdio mode to valgrind's gdbserver
 435441  valgrind fails to interpose malloc on musl 1.2.2 due to weak symbol name and no libc soname
index 8b1a8fe702390700a11d0ae24096f7151a3c2095..bca50958930b40962649d4add1870690069a1b2d 100644 (file)
@@ -957,7 +957,6 @@ static SyscallTableEntry syscall_main_table[] = {
 //   LINX_(__NR_tee,               sys_ni_syscall),       // 315
 //   LINX_(__NR_vmsplice,          sys_ni_syscall),       // 316
    LINXY(__NR_move_pages,        sys_move_pages),       // 317
-//   LINX_(__NR_getcpu,            sys_ni_syscall),       // 318
 
    LINX_(__NR_utimensat,         sys_utimensat),        // 320
    LINXY(__NR_signalfd,          sys_signalfd),         // 321
@@ -981,6 +980,7 @@ static SyscallTableEntry syscall_main_table[] = {
    LINXY(__NR_pselect6,          sys_pselect6),         // 335
    LINXY(__NR_ppoll,             sys_ppoll),            // 336
 
+   LINXY(__NR_getcpu,            sys_getcpu),           // 345
    LINXY(__NR_epoll_pwait,       sys_epoll_pwait),      // 346
 
    LINX_(__NR_fallocate,         sys_fallocate),        // 352