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

            Bug ID: 405079
           Summary: unhandled ppc64le-linux syscall: 131 (quotactl)
           Product: valgrind
           Version: 3.15 SVN
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: jsew...@acm.org
          Reporter: m...@klomp.org
  Target Milestone: ---

$ valgrind -q quota

--32616-- WARNING: unhandled ppc64le-linux syscall: 131
--32616-- You may be able to write your own handler.
--32616-- Read the file README_MISSING_SYSCALL_OR_IOCTL.
--32616-- Nevertheless we consider this a bug.  Please report
--32616-- it at http://valgrind.org/support/bug_reports.html.


Proposed (and tested) patch:

diff --git a/coregrind/m_syswrap/syswrap-ppc64-linux.c
b/coregrind/m_syswrap/syswrap-ppc64-linux.c
index 0fdcc8e..eada099 100644
--- a/coregrind/m_syswrap/syswrap-ppc64-linux.c
+++ b/coregrind/m_syswrap/syswrap-ppc64-linux.c
@@ -755,7 +755,7 @@ static SyscallTableEntry syscall_table[] = {
    LINX_(__NR_delete_module,     sys_delete_module),      // 129

 // _____(__NR_get_kernel_syms,   sys_get_kernel_syms),    // 130
-// _____(__NR_quotactl,          sys_quotactl),           // 131
+   LINX_(__NR_quotactl,          sys_quotactl),           // 131
    GENX_(__NR_getpgid,           sys_getpgid),            // 132
    GENX_(__NR_fchdir,            sys_fchdir),             // 133
 // _____(__NR_bdflush,           sys_bdflush),            // 134

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

Reply via email to