summaryrefslogtreecommitdiff
path: root/src/libstddjb/selfpipe_trapset.c
AgeCommit message (Collapse)Author
2020-02-26 Explicitly unblock signals when selfpiped without signalfdLaurent Bercot
This is arguably a bugfix, since selfpipe without signalfd relies on signals being actually delivered, and a process may have inherited a nonempty sigprocmask. Also use SIG_BLOCK instead of SIG_SETMASK when using selfpipe_trapset() with signalfd, because we shouldn't unblock signals that may have previously been blocked. This is also arguably a bugfix. This commit is essential for using the version of s6-linux-init that blocks SIGINT before disablecad on kernels without signalfd. Without it, SIGINT never gets unblocked, so it's never delivered to s6-svscan.
2017-04-28 Change SKALIBS_NSIG to SKALIBS_DEFAULT_NSIG and NSIG to SKALIBS_NSIG to ↵Laurent Bercot
accommodate OpenBSD snowflakiness
2017-04-28 Always pair skalibs/nsig.h with skalibs/nonposix.h (and screw NSIG with a ↵Laurent Bercot
chainsaw)
2017-04-28 Fix NSIG definition (max+1 instead of max)Laurent Bercot
2017-02-21 Types change: big pass on libstddjb and libunixonacidLaurent Bercot
libdatastruct still missing, library still not functional
2014-09-18initial commit with rc for skalibs-2.0.0.0Laurent Bercot