This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug dynamic-link/20831] New: _dl_map_segments does not test for __mprotect failures consistently


https://sourceware.org/bugzilla/show_bug.cgi?id=20831

            Bug ID: 20831
           Summary: _dl_map_segments does not test for __mprotect failures
                    consistently
           Product: glibc
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: dynamic-link
          Assignee: ldv at sourceware dot org
          Reporter: ldv at sourceware dot org
  Target Milestone: ---

$ strace -e mprotect -e fault=mprotect:when=1:error=ENOMEM cat </dev/null 
mprotect(0xf774e000, 4096, PROT_NONE)   = -1 ENOMEM (Cannot allocate memory)
(INJECTED)
mprotect(0xf774f000, 8192, PROT_READ)   = 0
mprotect(0x8054000, 4096, PROT_READ)    = 0
mprotect(0xf7784000, 4096, PROT_READ)   = 0
+++ exited with 0 +++

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]