musl/arch/mips/bits
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
..
alltypes.h.in fix regression in size of nlink_t (broken stat struct) on x86_64 2013-07-22 15:45:28 -04:00
endian.h better support for reverse-endian variants of arm/mips/microblaze 2012-10-18 21:50:55 -04:00
errno.h fix numerous mips abi constant definition mismatches 2012-11-05 14:29:04 -05:00
fcntl.h add missing F_GETOWNER_UIDS flag to bits/fcntl.h 2013-01-12 19:42:39 +01:00
fenv.h floating point environment/exceptions support for mips 2012-10-18 20:19:53 -04:00
float.h add FLT_TRUE_MIN, etc. macros from C11 2013-05-17 18:38:42 -04:00
io.h fix breakage from introducing bits header for sys/io.h 2012-11-18 19:58:15 -05:00
ioctl.h fix ioctl _IOR, _IOW, etc macros to avoid signed overflow (2<<30) 2013-05-26 15:49:08 +00:00
ipc.h fix broken semctl on systems that don't use IPC_64 flag 2012-09-22 08:02:42 -04:00
limits.h
mman.h add missing mmap options and madvices to bits/mman.h based on linux headers 2013-01-12 19:42:39 +01:00
msg.h
posix.h
reg.h begin sys/user.h and sys/reg.h fixes for ports 2012-11-23 20:05:43 -05:00
setjmp.h change jmp_buf to share an underlying type and struct tag with sigjmp_buf 2013-07-24 02:17:02 -04:00
shm.h
signal.h fix _NSIG and SIGRTMAX on mips 2013-08-10 23:39:43 -04:00
socket.h add the new SO_REUSEPORT socket option to mips and powerpc 2013-04-01 17:54:39 +00:00
stat.h
statfs.h
stdarg.h
stdint.h remove SIG_ATOMIC_MIN/MAX from stdint bits headers 2013-07-22 17:02:03 -04:00
syscall.h add syscall numbers for the new kcmp and finit_module syscalls 2013-04-01 18:02:32 +00:00
termios.h fix termios constants on mips 2012-11-23 17:23:38 -05:00
user.h make sys/procfs.h mostly work on most archs 2012-11-25 22:28:18 -05:00