musl/src
Rich Felker 5db951ef80 in pthread_getattr_np, use mremap rather than madvise to measure stack
the original motivation for this patch was that qemu (and possibly
other syscall emulators) nop out madvise, resulting in an infinite
loop. however, there is another benefit to this change: madvise may
actually undo an explicit madvise the application intended for its
stack, whereas the mremap operation is a true nop. the logic here is
that mremap must fail if it cannot resize the mapping in-place, and
the caller knows that it cannot resize in-place because it knows the
next page of virtual memory is already occupied.
2013-07-31 15:19:39 -04:00
..
aio fix invalid access in aio notification 2013-06-16 10:39:02 -04:00
complex complex: add C11 CMPLX macros and replace cpack with them 2012-11-13 01:31:49 +01:00
conf a few more fixes for unistd/sysconf feature reporting 2013-07-27 00:02:39 -04:00
crypt comment potentially-confusing use of struct crypt_data type 2013-04-20 14:07:01 -04:00
ctype fix types for wctype_t and wctrans_t 2013-03-04 19:22:14 -05:00
dirent refactor headers, especially alltypes.h, and improve C++ ABI compat 2013-07-22 11:22:36 -04:00
env remove __libc_csu_* cruft 2013-07-21 03:34:31 -04:00
errno fix typo in newly-added error message for EOWNERDEAD 2013-02-07 03:13:35 -05:00
exit add support for init/fini array in main program, and greatly simplify 2013-07-21 03:00:54 -04:00
fcntl provide emulation of fcntl F_DUPFD_CLOEXEC on old kernels 2013-03-26 22:54:57 -04:00
fenv fenv support for ppc, untested 2012-11-18 16:31:14 -05:00
internal refactor headers, especially alltypes.h, and improve C++ ABI compat 2013-07-22 11:22:36 -04:00
ipc prevent shmget from allocating objects that overflow ptrdiff_t 2013-06-29 00:02:38 -04:00
ldso fix theoretical out-of-bound access in dynamic linker 2013-07-31 15:14:06 -04:00
legacy make err.h functions print __progname 2013-05-18 10:20:42 -04:00
linux fix the prototype of settimeofday to follow the original BSD declaration 2013-05-26 16:01:38 +00:00
locale fix semantically incorrect use of LC_GLOBAL_LOCALE 2013-07-28 03:41:01 -04:00
malloc remove redundant check in memalign 2013-07-23 23:40:26 -04:00
math add missing erfcl wrapper for archs where long double is plain double 2013-07-28 11:30:42 -04:00
misc Add ABI compatability aliases. 2013-04-05 23:20:28 -07:00
mman fix shm_open wrongly being cancellable 2013-07-20 13:19:14 -04:00
mq use restrict everywhere it's required by c99 and/or posix 2008 2012-09-06 22:44:55 -04:00
multibyte fix failure of mbsrtowcs to record stop position when dest is full 2013-06-29 16:16:47 -04:00
network fix undefined strcpy call in inet_ntop 2013-07-25 03:30:24 -04:00
passwd change uid_t, gid_t, and id_t to unsigned types 2013-07-19 01:34:28 -04:00
prng improve the quality of output from rand_r 2013-06-12 18:20:48 -04:00
process make posix_spawn (and functions that use it) use CLONE_VFORK flag 2013-07-17 13:54:41 -04:00
regex revert regex "cleanup" that seems unjustified and may break backtracking 2013-02-01 01:10:59 -05: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 remove __SYSCALL_SSLEN arch macro in favor of using public _NSIG 2013-03-26 23:07:31 -04:00
setjmp remove fenv saving/loading code from setjmp/longjmp on arm 2012-12-05 19:13:47 -05:00
signal use separate sigaction buffers for old and new data 2013-07-30 09:14:56 -04:00
stat improve [f]stat[v]fs functions, and possibly work around old kernels 2013-07-19 02:48:18 -04:00
stdio fix uninitialized/stale use of alloc (%m modifier) flag in scanf 2013-07-20 00:21:11 -04:00
stdlib add ABI symbols for strtol family functions 2013-07-26 14:53:50 -04:00
string fix a couple misleading/wrong signal descriptions in strsignal 2013-07-09 02:30:21 -04:00
temp use memcmp instead of str[n]cmp for temp function XXXXXX checking 2013-02-20 23:01:22 -05:00
termios legacy junk compatibility grab-bag 2012-04-18 12:22:24 -04:00
thread in pthread_getattr_np, use mremap rather than madvise to measure stack 2013-07-31 15:19:39 -04:00
time fix semantically incorrect use of LC_GLOBAL_LOCALE 2013-07-28 03:41:01 -04:00
unistd fix bogus lazy allocation in ctermid and missing malloc failure check 2013-07-09 00:50:11 -04:00