https://bugs.kde.org/show_bug.cgi?id=363705

            Bug ID: 363705
           Summary: arm64 missing syscall name_to_handle_at and
                    open_by_handle_at
           Product: valgrind
           Version: 3.11 SVN
          Platform: Other
               URL: https://bugzilla.redhat.com/show_bug.cgi?id=1339628
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: jsew...@acm.org
          Reporter: m...@redhat.com

name_to_handle_at system calls are used by systemd nspawn.

Reproducible: Always




(untested) patch is probably as easy as:

diff --git a/coregrind/m_syswrap/syswrap-arm64-linux.c
b/coregrind/m_syswrap/syswrap-arm64-linux.c
index 0b78f20..8842765 100644
--- a/coregrind/m_syswrap/syswrap-arm64-linux.c
+++ b/coregrind/m_syswrap/syswrap-arm64-linux.c
@@ -1096,6 +1096,9 @@ static SyscallTableEntry syscall_main_table[] = {

    GENXY(__NR_wait4,             sys_wait4),             // 260

+   LINXY(__NR_name_to_handle_at, sys_name_to_handle_at), // 264
+   LINXY(__NR_open_by_handle_at, sys_open_by_handle_at), // 265
+
    LINX_(__NR_syncfs,            sys_syncfs),            // 267

    LINXY(__NR_sendmmsg,          sys_sendmmsg),          // 269
@@ -1374,8 +1377,6 @@ static SyscallTableEntry syscall_main_table[] = {
 //ZZ    LINXY(__NR_epoll_create1,     sys_epoll_create1),    // 357
 //ZZ    LINXY(__NR_rt_tgsigqueueinfo, sys_rt_tgsigqueueinfo),// 363
 //ZZ 
-//ZZ    LINXY(__NR_name_to_handle_at, sys_name_to_handle_at),// 370
-//ZZ    LINXY(__NR_open_by_handle_at, sys_open_by_handle_at),// 371
 //ZZ    LINXY(__NR_clock_adjtime,     sys_clock_adjtime)     // 372
 };

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to