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

            Bug ID: 514297
           Summary: Track madvise MADV_GUARD_INSTALL in address space
                    manager
    Classification: Developer tools
           Product: valgrind
      Version First 3.25 GIT
       Reported In:
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

glibc 2.42+ (with linux 6.13+) uses MADV_GUARD_INSTALL to setup
stack guard pages. valgrind currently isn't able to track this and
such guard pages also don't show up in /proc maps (only in /proc
pagemap since linux 6.14). For now valgrind fails a madvise
MADV_GUARD_INSTALL syscall with EINVAL. This causes glibc to fall
back to mprotect PROT_NONE      which valgrind is able to track.
See https://bugs.kde.org/show_bug.cgi?id=511717

It would be better to track madvise MADV_GUARD_INSTALL using the address space
manager.

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

Reply via email to