Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | tests/sighook: Add atsigexit() tests | Tavian Barnes | 6 days | 1 | -1/+77 |
| | |||||
* | tests/sighook: Test the SH_ONESHOT flag | Tavian Barnes | 2024-12-04 | 1 | -2/+28 |
| | |||||
* | sighook: Don't forget to reset list->tail on the last sigpop() | Tavian Barnes | 2024-10-10 | 1 | -0/+7 |
| | | | | | | | This was causing a UAF if we ever unregistered the last hook for a signal and then re-registered one. Fixes: 75b7f70 ("sighook: Make sigunhook() O(1)") | ||||
* | tests/sighook: Use the new xtimer_start() API | Tavian Barnes | 2024-10-10 | 1 | -8/+6 |
| | |||||
* | Fix includes | Tavian Barnes | 2024-08-29 | 1 | -0/+1 |
| | |||||
* | build: Move feature test macros to prelude.h | Tavian Barnes | 2024-08-28 | 1 | -1/+0 |
| | | | | | | This replaces the explicit CPPFLAGS list in flags.mk with just `-include src/prelude.h`, shortening our compiler command lines and allowing them to be easily documented. | ||||
* | prelude: Split bfs-specific utilities into new bfs.h header | Tavian Barnes | 2024-08-28 | 1 | -1/+3 |
| | |||||
* | tests: Simplify unit tests with a global variable | Tavian Barnes | 2024-07-07 | 1 | -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 lists | Tavian Barnes | 2024-07-07 | 1 | -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) automatically | Tavian Barnes | 2024-05-17 | 1 | -6/+6 |
| | |||||
* | sighook: New utilities for hooking signals | Tavian Barnes | 2024-05-16 | 1 | -0/+97 |
This allows multiple hooks to be installed for a single signal. |