mirror of
git://sourceware.org/git/glibc.git
synced 2024-11-21 01:12:26 +08:00
(_dl_map_object_from_fd): No need to change protection of memory used for the last segment.
This commit is contained in:
parent
84c516536c
commit
fc072badce
@ -1200,7 +1200,7 @@ cannot allocate TLS data structures for initial thread");
|
||||
handle the portion of the segment past the end of the file
|
||||
mapping. */
|
||||
__mprotect ((caddr_t) (l->l_addr + c->mapend),
|
||||
loadcmds[nloadcmds - 1].allocend - c->mapend,
|
||||
loadcmds[nloadcmds - 1].mapstart - c->mapend,
|
||||
PROT_NONE);
|
||||
|
||||
goto postmap;
|
||||
|
Loading…
Reference in New Issue
Block a user