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

            Bug ID: 477628
           Summary: Add mremap support for Solaris
    Classification: Developer tools
           Product: valgrind
           Version: 3.21.0
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: jsew...@acm.org
          Reporter: kulik...@gmail.com
  Target Milestone: ---

Created attachment 163544
  --> https://bugs.kde.org/attachment.cgi?id=163544&action=edit
mremap support for Solaris

Oracle Solaris SRU 45 (May 2022) introduced a new mremap syscall that behaves
the same as on Linux. The attached patch adds support for it; without it,
Valgrind fails to build when mremap is available with:

m_aspacemgr/aspacemgr-common.c:234:6: error: #error Unknown OS
  234 | #    error Unknown OS
      |

To be sure, I ran `build` and `test` on illumos/OpenIndiana (which doesn't have
mremap syscall) and found no issues with this patch.

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

Reply via email to