diff options
author | Ulrich Drepper <drepper@redhat.com> | 2005-09-02 07:33:58 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2005-09-02 07:33:58 +0000 |
commit | fc072badcea77fcd96e8514ba584dc5bbd5e991e (patch) | |
tree | 409bc2d15dc0d1b3646fb06dac92c1f40dc2b1da /elf/dl-load.c | |
parent | 84c516536c20680f2750313f0f4ff5964c7083be (diff) | |
download | glibc-fc072badcea77fcd96e8514ba584dc5bbd5e991e.zip glibc-fc072badcea77fcd96e8514ba584dc5bbd5e991e.tar.gz glibc-fc072badcea77fcd96e8514ba584dc5bbd5e991e.tar.bz2 |
(_dl_map_object_from_fd): No need to change protection of memory used for the last segment.
Diffstat (limited to 'elf/dl-load.c')
-rw-r--r-- | elf/dl-load.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/elf/dl-load.c b/elf/dl-load.c index 677174d..58b0f91 100644 --- a/elf/dl-load.c +++ b/elf/dl-load.c @@ -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; |