musl/src
Rich Felker 7c440977db fix _NSIG and SIGRTMAX on mips
a mips signal mask contains 128 bits, enough for signals 1 through
128. however, the exit status obtained from the wait-family functions
only has room for values up to 127. reportedly signal 128 was causing
kernelspace bugs, so it was removed from the kernel recently; even
without that issue, however, it was impossible to support it correctly
in userspace.

at the same time, the bug was masked on musl by SIGRTMAX incorrectly
yielding 64 on mips, rather than the "correct" value of 128. now that
the _NSIG issue is fixed, SIGRTMAX can be fixed at the same time,
exposing the full range of signals for application use.

note that the (nonstandardized) libc _NSIG value is actually one
greater than the max signal number, and also one greater than the
kernel headers' idea of _NSIG. this is the reason for the discrepency
with the recent kernel changes. since reducing _NSIG by one brought it
down from 129 to 128, rather than from 128 to 127, _NSIG/8, used
widely in the musl sources, is unchanged.
2013-08-10 23:39:43 -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 add system for resetting TLS to initial values 2013-08-03 16:27:30 -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 fix multiple bugs in SIGEV_THREAD timers 2013-08-03 13:20:42 -04:00
ipc prevent shmget from allocating objects that overflow ptrdiff_t 2013-06-29 00:02:38 -04:00
ldso work around libraries with versioned symbols in dynamic linker 2013-08-08 16:10:35 -04:00
legacy collapse euidaccess to a call to faccessat 2013-08-03 02:28:35 -04:00
linux fix the prototype of settimeofday to follow the original BSD declaration 2013-05-26 16:01:38 +00:00
locale add Big5 charset support to iconv 2013-08-07 13:16:14 -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 debloat code that depends on /proc/self/fd/%d with shared function 2013-08-02 12:59:45 -04: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 optimize posix_spawn to avoid spurious sigaction syscalls 2013-08-09 21:03:47 -04:00
regex revert regex "cleanup" that seems unjustified and may break backtracking 2013-02-01 01:10:59 -05:00
sched add pthread_setaffinity_np and pthread_getaffinity_np functions 2013-08-10 21:41:05 -04:00
search make tdestroy allow null function pointer if no destructor is needed 2013-08-02 21:20:33 -04: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 fix _NSIG and SIGRTMAX on mips 2013-08-10 23:39:43 -04:00
stat make fchdir, fchmod, fchown, and fstat support O_PATH file descriptors 2013-08-02 13:33:31 -04:00
stdio protect against long double type mismatches (mainly powerpc for now) 2013-08-02 19:34:22 -04:00
stdlib make fcvt decimal point location for zero make more sense 2013-08-07 11:19:11 -04:00
string optimized memset asm for i386 and x86_64 2013-08-01 21:44:43 -04:00
temp fix (deprecated) mktemp logic and update it to match other temp functions 2013-08-02 01:06:53 -04: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 have new timer threads unblock their own SIGTIMER 2013-08-03 17:10:42 -04:00
unistd block all signals, even implementation-internal ones, in faccessat child 2013-08-09 19:56:53 -04:00