Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2011-04-14 | fix FAPPEND typo on x86_64 (previously only fixed on i386) | Rich Felker | 1 | -1/+1 | |
2011-04-14 | fcntl.h: move macros that do not vary between archs out of bits | Rich Felker | 3 | -48/+24 | |
2011-04-14 | fix broken fcntl locks on x86_64 | Rich Felker | 1 | -3/+3 | |
2011-04-14 | make tmpfile slightly more efficient (use unlink syscall instead of remove) | Rich Felker | 1 | -1/+1 | |
2011-04-14 | fix typo in legacy FAPPEND definition | Rich Felker | 1 | -1/+1 | |
2011-04-14 | add useless type fd_mask. it's in the reserved namespace. | Rich Felker | 1 | -0/+2 | |
2011-04-14 | change sem_trywait algorithm so it never has to call __wake | Rich Felker | 1 | -3/+2 | |
2011-04-14 | cheap trick to further optimize locking normal mutexes | Rich Felker | 2 | -2/+2 | |
2011-04-14 | use a separate signal from SIGCANCEL for SIGEV_THREAD timers | Rich Felker | 6 | -11/+29 | |
otherwise we cannot support an application's desire to use asynchronous cancellation within the callback function. this change also slightly debloats pthread_create.c. | |||||
2011-04-13 | simplify cancellation point handling | Rich Felker | 2 | -16/+5 | |
we take advantage of the fact that unless self->cancelpt is 1, cancellation cannot happen. so just increment it by 2 to temporarily block cancellation. this drops pthread_create.o well under 1k. | |||||
2011-04-13 | simplify syslog, add vsyslog interface (nonstandard) | Rich Felker | 1 | -31/+36 | |
with datagram sockets, depending on fprintf not to flush the output early was very fragile; the new version simply uses a small fixed-size buffer. it could be updated to dynamic-allocate large buffers if needed, but i can't envision any admin being happy about finding 64kb-long lines in their syslog... | |||||
2011-04-13 | remove useless SIGPIPE protection from syslog | Rich Felker | 1 | -9/+0 | |
per the standard, SIGPIPE is not generated for SOCK_DGRAM. | |||||
2011-04-13 | fix syslog (corrected SIGPIPE blocking, and using dgram instead of stream) | Rich Felker | 1 | -10/+8 | |
it actually appears the hacks to block SIGPIPE are probably not necessary, and potentially harmful. if i can confirm this, i'll remove them. | |||||
2011-04-13 | numerous fixes to sysv ipc | Rich Felker | 12 | -66/+96 | |
some of these definitions were just plain wrong, others based on outdated ancient "non-64" versions of the kernel interface. as much as possible has now been moved out of bits/* these changes break abi (the old abi for these functions was wrong), but since they were not working anyway it can hardly matter. | |||||
2011-04-13 | add syslog.h cruft for syslogd to use... | Rich Felker | 1 | -0/+45 | |
2011-04-13 | add profile for getmntent_r | Rich Felker | 1 | -0/+1 | |