Module Name: src Committed By: kamil Date: Fri Mar 8 23:32:31 UTC 2019
Modified Files: src/sys/kern: kern_sig.c Log Message: Stop resetting signal context on a trap signal under a debugger In case of a crash signal, notify debugger immediately passing the signal regardless of signal masking/ignoring. While there pass signals emitted by a debugger to debuggee. Debugger calls proc_unstop() that sets p_stat to SACTIVE and this signal wasn't passed to tracee. This scenario appeared to be triggered in recently added crash signal ATF ptrace(2) tests. To generate a diff of this commit: cvs rdiff -u -r1.350 -r1.351 src/sys/kern/kern_sig.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.