musl/src
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
..
aio use alternate argument syntax for restrict with lio_listio 2012-12-04 19:03:42 -05:00
complex complex: add C11 CMPLX macros and replace cpack with them 2012-11-13 01:31:49 +01:00
conf report support of TPS option in unistd.h and sysconf 2012-11-11 15:54:20 -05:00
crypt add crypt_md5 password hash 2012-09-15 23:41:07 -04:00
ctype fix argument type error on wcwidth function 2012-08-02 21:02:34 -04:00
dirent use restrict everywhere it's required by c99 and/or posix 2008 2012-09-06 22:44:55 -04:00
env fix ordering of shared library ctors with respect to libc init 2012-11-30 17:56:23 -05:00
errno better description for errno==0 2012-04-16 18:37:53 -04:00
exit further use of _Noreturn, for non-plain-C functions 2012-09-06 23:34:10 -04:00
fcntl move fallocate syscall wrapper to linux-specific syscalls dir 2012-09-08 00:41:11 -04:00
fenv fenv support for ppc, untested 2012-11-18 16:31:14 -05:00
internal fix trailing whitespace issues that crept in here and there 2012-12-07 16:16:44 -05:00
ipc fix shmdt syscall calling convention on old archs 2012-10-28 15:04:26 -04:00
ldso fix ordering of shared library ctors with respect to libc init 2012-11-30 17:56:23 -05:00
legacy more close-on-exec fixes, mostly using new "e" flag to fopen 2012-09-29 18:14:46 -04:00
linux remove __arch_prctl alias for arch_prctl 2012-12-07 16:22:13 -05:00
locale use restrict everywhere it's required by c99 and/or posix 2008 2012-09-06 22:44:55 -04:00
malloc page-align initial brk value used by malloc in shared libc 2012-12-07 22:33:11 -05:00
math fix trailing whitespace issues that crept in here and there 2012-12-07 16:16:44 -05:00
misc move new linux syscall wrapper functions to proper source dir 2012-12-07 16:17:16 -05:00
mman overhaul sem_open 2012-09-30 19:35:40 -04:00
mq use restrict everywhere it's required by c99 and/or posix 2008 2012-09-06 22:44:55 -04:00
multibyte use restrict everywhere it's required by c99 and/or posix 2008 2012-09-06 22:44:55 -04:00
network improve SOCK_NONBLOCK/SOCK_CLOEXEC fallback code 2012-11-05 14:30:15 -05:00
passwd more close-on-exec fixes, mostly using new "e" flag to fopen 2012-09-29 18:14:46 -04:00
prng ditch the priority inheritance locks; use malloc's version of lock 2012-04-24 16:32:23 -04:00
process add support for thread scheduling (POSIX TPS option) 2012-11-11 15:38:04 -05:00
regex use restrict everywhere it's required by c99 and/or posix 2008 2012-09-06 22:44:55 -04:00
sched add support for thread scheduling (POSIX TPS option) 2012-11-11 15:38:04 -05:00
search search: add comments to tsearch_avl.c 2012-05-13 01:50:53 +02:00
select use restrict everywhere it's required by c99 and/or posix 2008 2012-09-06 22:44:55 -04:00
setjmp remove fenv saving/loading code from setjmp/longjmp on arm 2012-12-05 19:13:47 -05:00
signal fix sigorset/sigandset: _NSIG/8 is the size in bytes 2012-12-06 22:48:46 +01:00
stat add obsolete futimesat() 2012-12-06 20:27:54 +01:00
stdio always add memory streams to stdio open file list 2012-11-09 14:26:25 -05:00
stdlib clean up stdio_impl.h 2012-11-08 16:39:41 -05:00
string simplify logic in stpcpy; avoid copying first aligned byte twice 2012-10-22 15:17:09 -04:00
temp remove ugly prng from mk*temp and just re-poll time on retry 2011-07-28 22:03:54 -04:00
termios legacy junk compatibility grab-bag 2012-04-18 12:22:24 -04:00
thread fix some restrict-qualifier mismatches in newly added interfaces 2012-11-27 09:44:30 -05:00
time clean up sloppy nested inclusion from pthread_impl.h 2012-11-08 17:04:20 -05:00
unistd greatly improve freopen behavior 2012-10-24 21:16:06 -04:00