musl/src/malloc
Rich Felker b8ccf8e46b page-align initial brk value used by malloc in shared libc
this change fixes an obscure issue with some nonstandard kernels,
where the initial brk syscall returns a pointer just past the end of
bss rather than the beginning of a new page. in that case, the dynamic
linker has already reclaimed the space between the end of bss and the
page end for use by malloc, and memory corruption (allocating the same
memory twice) will occur when malloc again claims it on the first call
to brk.
2012-12-07 22:33:11 -05:00
..
__brk.c global cleanup to use the new syscall interface 2011-03-20 00:16:43 -04:00
aligned_alloc.c fix invalid read in aligned_alloc 2012-12-06 21:12:28 -05:00
calloc.c initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
DESIGN initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
lite_malloc.c ditch the priority inheritance locks; use malloc's version of lock 2012-04-24 16:32:23 -04:00
malloc.c page-align initial brk value used by malloc in shared libc 2012-12-07 22:33:11 -05:00
memalign.c implement "low hanging fruit" from C11 2012-08-25 23:15:13 -04:00
posix_memalign.c implement "low hanging fruit" from C11 2012-08-25 23:15:13 -04:00