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 /stdlib/mul.c | |
parent | 6780bc44e8b651cc67dbef2761fc92bdee46c45e (diff) | |
download | glibc-c7fd336280f2d88be4a22303199323718c8c3a28.tar.gz glibc-c7fd336280f2d88be4a22303199323718c8c3a28.tar.xz glibc-c7fd336280f2d88be4a22303199323718c8c3a28.zip |
* 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 'stdlib/mul.c')
0 files changed, 0 insertions, 0 deletions