CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2021/04/29 20:06:22
Modified files:
sys/kern : kern_pledge.c
Log message:
When terminating via pledge_fail() stop all threads, before issuing a
(delayed action) sigabort() and disabling all syscalls for this process
(ie. all threads). This resulted in multiple-threads crashing over top
of themselves, and a poor debugging experience. We keep using sigabort()
rather than sigexit(), to keep the debugging process good.
Diagnosed from a report from brynet, and followup discussion with many.