Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | fix errors in sigqueue (potential information leak, wrong behavior) | Rich Felker | 2011-03-10 | 1 | -5/+7 |
| | | | | | | | | 1. any padding in the siginfo struct was not necessarily zero-filled, so it might have contained private data off the caller's stack. 2. the uid and pid must be filled in from userspace. the previous rsyscall fix broke rsyscalls because the values were always incorrect. | ||||
* | remove useless return value checks for functions that cannot fail | Rich Felker | 2011-03-10 | 1 | -3/+2 |
| | |||||
* | make sigsuspend a cancellation point | Rich Felker | 2011-03-10 | 1 | -1/+6 |
| | |||||
* | make sigtimedwait a cancellation point | Rich Felker | 2011-03-10 | 1 | -0/+3 |
| | |||||
* | don't fail with EINTR in sigtimedwait | Rich Felker | 2011-03-10 | 1 | -6/+6 |
| | | | | | POSIX allows either behavior, but sigwait is not allowed to fail with EINTR, so the retry loop would have to be in one or the other anyway. | ||||
* | fix sigsuspend syscall | Rich Felker | 2011-03-10 | 1 | -1/+1 |
| | |||||
* | make sigaltstack work (missing macros in signal.h, error conditions) | Rich Felker | 2011-03-10 | 1 | -1/+11 |
| | |||||
* | fix error handling for pthread_sigmask | Rich Felker | 2011-03-09 | 1 | -1/+5 |
| | | | | it must return errno, not -1, and should reject invalud values for how. | ||||
* | fix race condition in raise - just mask signals | Rich Felker | 2011-03-09 | 1 | -9/+9 |
| | | | | | | | | a signal handler could fork after the pid/tid were read, causing the wrong process to be signalled. i'm not sure if this is supposed to have UB or not, but raise is async-signal-safe, so it probably is allowed. the current solution is slightly expensive so this implementation is likely to be changed in the future. | ||||
* | fix raise semantics with threads. | Rich Felker | 2011-03-09 | 1 | -1/+12 |
| | |||||
* | fix null pointer dereference introduced in last sigprocmask commit | Rich Felker | 2011-02-20 | 1 | -1/+1 |
| | |||||
* | prevent sigprocmask/pthread_sigmask from blocking implementation signals | Rich Felker | 2011-02-19 | 1 | -3/+5 |
| | | | | | | this code was wrongly disabled because the old version was trying to be too clever and didn't work. replaced it with a simple version for now. | ||||
* | Port musl to x86-64. One giant commit! | Nicholas J. Kain | 2011-02-15 | 2 | -0/+22 |
| | |||||
* | header cleanup, conformance fixes - signals | Rich Felker | 2011-02-14 | 2 | -6/+3 |
| | |||||
* | fix previous commit that broke sigreturn. looks like the asm is needed. | Rich Felker | 2011-02-13 | 3 | -5/+17 |
| | |||||
* | fix omission that kept sa_restorer from being used | Rich Felker | 2011-02-13 | 1 | -1/+1 |
| | |||||
* | initial check-in, version 0.5.0 v0.5.0 | Rich Felker | 2011-02-12 | 32 | -0/+398 |