aboutsummaryrefslogtreecommitdiff
path: root/src (unfollow)
Commit message (Collapse)AuthorFilesLines
2012-12-07move new linux syscall wrapper functions to proper source dirRich Felker2-0/+0
2012-12-07fix trailing whitespace issues that crept in here and thereRich Felker5-13/+13
2012-12-06fix invalid read in aligned_allocRich Felker1-2/+3
in case of mmap-obtained chunks, end points past the end of the mapping and reading it may fault. since the value is not needed until after the conditional, move the access to prevent invalid reads.
2012-12-06move signal.h REG_* macros under _GNU_SOURCE protectionRich Felker2-44/+48
they were accidentally exposed under just baseline POSIX, which is a big namespace pollution issue. thankfully glibc only exposes them under _GNU_SOURCE, not under any of its other options, so omitting the pollution in the default _BSD_SOURCE profile does not hurt application compatibility at all.
2012-12-06fix names of ipc_perm __key/__seq elementsRich Felker1-6/+2
previously the names were exposed as key/seq with _GNU_SOURCE and __ipc_perm_key/__ipc_perm/seq otherwise, whereas glibc always uses __key and __seq for the names. thus, the old behavior never matched glibc, and the new behavior always does, regardless of feature test macros. for now, i'm leaving the renaming here in sys/ipc.h where it's easy to change globally for all archs, in case something turns out to be wrong, but eventually the names could just be incorporated directly into the bits headers for each arch and the renaming removed.
2012-12-06fix sigorset/sigandset: _NSIG/8 is the size in bytesrofl0r2-2/+2
2012-12-06fix F_DUPFD_CLOEXEC being defined twicerofl0r1-1/+0
2012-12-06sigandset/sigorset: do not check for NULL pointers.rofl0r2-10/+0
that way it's consistent with existing sig* functions, and saves some code size.
2012-12-06fixup sigandsetrofl0r2-2/+2
2012-12-06fixup for fcntl.h changesrofl0r1-15/+14