]> git.ipfire.org Git - thirdparty/glibc.git/commit
2007-05-07 Ulrich Drepper <drepper@redhat.com>
authorJakub Jelinek <jakub@redhat.com>
Thu, 12 Jul 2007 15:22:37 +0000 (15:22 +0000)
committerJakub Jelinek <jakub@redhat.com>
Thu, 12 Jul 2007 15:22:37 +0000 (15:22 +0000)
commit19ca40f571f10833b02548789b53d57fd685a437
tree46fc3cee9c8bce8ee346650a77ecc5f36253e9a3
parent7eb36bf69cf0fbbe03c489954b689cb23cab500a
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.
ChangeLog
malloc/arena.c