summaryrefslogtreecommitdiffstats
path: root/tests/sighook.c
Commit message (Collapse)AuthorAgeFilesLines
* tests: Simplify unit tests with a global variableTavian Barnes2024-07-071-22/+9
| | | | | It's a little awkward to thread the test result through manually; much easier to just make bfs_check() update a global variable.
* sighook: Replace sigtables with RCU-protected linked listsTavian Barnes2024-07-071-34/+60
| | | | | | | | This fixes an ABA problem where sigdispatch() could think no handlers are registered for a signal even when there are. Link: https://unix.stackexchange.com/a/779594/56202 Fixes: 375caac ("sighook: New utilities for hooking signals")
* diag: New helpers to include xstrerror(errno) automaticallyTavian Barnes2024-05-171-6/+6
|
* sighook: New utilities for hooking signalsTavian Barnes2024-05-161-0/+97
This allows multiple hooks to be installed for a single signal.