diff options
author | Jakub Jelinek <jakub@redhat.com> | 2007-05-07 15:30:57 +0000 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2007-05-07 15:30:57 +0000 |
commit | c7fd336280f2d88be4a22303199323718c8c3a28 (patch) | |
tree | 5fa83737189b7e0acdd5ba025b633326386ed74f /ChangeLog | |
parent | 6780bc44e8b651cc67dbef2761fc92bdee46c45e (diff) | |
download | glibc-c7fd336280f2d88be4a22303199323718c8c3a28.zip glibc-c7fd336280f2d88be4a22303199323718c8c3a28.tar.gz glibc-c7fd336280f2d88be4a22303199323718c8c3a28.tar.bz2 |
* malloc/arena.c (heap_info): Add mprotect_size field, adjust pad.
(new_heap): Initialize mprotect_size.
(grow_heap): When growing, only mprotect from mprotect_size till
new_size if mprotect_size is smaller. When shrinking, use PROT_NONE
MMAP for __libc_enable_secure only, otherwise use MADV_DONTNEED.
2007-05-07 Ulrich Drepper <drepper@redhat.com>
Jakub Jelinek <jakub@redhat.com>
* malloc/arena.c (heap_info): Add mprotect_size field, adjust pad.
(new_heap): Initialize mprotect_size.
(grow_heap): When growing, only mprotect from mprotect_size till
new_size if mprotect_size is smaller. When shrinking, use PROT_NONE
MMAP for __libc_enable_secure only, otherwise use MADV_DONTNEED.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -1,3 +1,12 @@ +2007-05-07 Ulrich Drepper <drepper@redhat.com> + Jakub Jelinek <jakub@redhat.com> + + * malloc/arena.c (heap_info): Add mprotect_size field, adjust pad. + (new_heap): Initialize mprotect_size. + (grow_heap): When growing, only mprotect from mprotect_size till + new_size if mprotect_size is smaller. When shrinking, use PROT_NONE + MMAP for __libc_enable_secure only, otherwise use MADV_DONTNEED. + 2007-04-30 Steven Munroe <sjmunroe@us.ibm.com> Peter Bergner <bergner@us.ibm.com> |