aboutsummaryrefslogtreecommitdiff
path: root/src/thread/pthread_sigmask.c (follow)
Commit message (Expand)AuthorAgeFilesLines
* fix (hopefully) all hard-coded 8's for kernel sigset_t size•••some minor changes to how hard-coded sets for thread-related purposes are handled were also needed, since the old object sizes were not necessarily sufficient. things have gotten a bit ugly in this area, and i think a cleanup is in order at some point, but for now the goal is just to get the code working on all supported archs including mips, which was badly broken by linux rejecting syscalls with the wrong sigset_t size. Rich Felker2012-08-091-2/+2
* remove implementation-reserved bits when saving signal mask•••this fix is necessary because a program could be started with some of the implementation-reserved signals masked (e.g. due to exec having been called from a signal handler, or from a non-musl program) and then could obtain an invalid-to-use-later sigset_t as the old/saved signal mask. Rich Felker2012-06-021-1/+11
* clean up pthread_sigmask/sigprocmask dependency order•••it's nicer for the function that doesn't use errno to be independent, and have the other one call it. saves some time and avoids clobbering errno. Rich Felker2011-07-301-3/+3
* fix error handling for pthread_sigmask•••it must return errno, not -1, and should reject invalud values for how. Rich Felker2011-03-091-0/+10