summaryrefslogtreecommitdiff
path: root/openbsd_priv.c
Commit message (Collapse)AuthorAgeFilesLines
* seccomp: compile fixes for obsd/fbsddormando2019-08-281-1/+2
| | | | builds under freebsd at least. Have no local testing for obsd :(
* Add a handler for seccomp crashesStanisław Pitucha2019-08-281-0/+3
| | | | | | | | | When seccomp causes a crash, use a SIGSYS action and handle it to print out an error. Most functions are not allowed at that point (no buffered output, no ?printf functions, no abort, ...), so the implementation is as minimal as possible. Print out a message with the syscall number and exit the process (all threads).
* Rework pledge support after seccomp support has been addedGiovanni Bechis2017-11-041-0/+28