This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/11754] RFE: dlopen of ET_EXEC file
- From: "jreiser at BitWagon dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 4 Oct 2010 15:42:02 -0000
- Subject: [Bug libc/11754] RFE: dlopen of ET_EXEC file
- References: <20100624232048.11754.jreiser@BitWagon.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From jreiser at BitWagon dot com 2010-10-04 15:42 -------
Please explain how an undetected conflict over address space could arise. The
interval of pages requested by mmap is the convex hull of all of the PT_LOAD, so
the interval contains each PT_LOAD. The first argument to mmap is the address
of the lowest page in the range, and the flags argument _omits_ MAP_FIXED. If
the kernel's allocation policy honors the suggested placement, then the kernel
believes that no page in the requested range was occupied before. If any page
in the requested range _was_ occupied before, then the kernel will choose some
other address, else return MAP_FAILED. In all cases, comparing the desired
lowest address to the return value of mmap() correctly determines success or
failure, including any conflicts that might exist.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|WONTFIX |
http://sourceware.org/bugzilla/show_bug.cgi?id=11754
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.