OpenBSD cvs log

created 2019-05-08T23:02:07Z
begin 2018-03-24T00:00:00Z
end 2018-03-25T00:00:00Z
path src/sys
commits 2

date 2018-03-24T04:13:59Z
author visa
files src/sys/kern/kern_sig.c log diff annotate
src/sys/sys/signalvar.h log diff annotate
message Avoid calling issignal() twice on signal delivery in order not
to generate more than one ptrace(2) event. Do that by checking
pending signals first without altering any state. If there is
an unmasked signal ready for delivery, acquire the kernel lock
and redo the checks in issignal().

This prevents gdb from blocking on exit when it attempts to kill
an attached process, issue reported by tb@.

OK mpi@, deraadt@

date 2018-03-24T04:19:43Z
author visa
files src/sys/arch/luna88k/include/cpu.h log diff annotate
message Fix intr_restore() on luna88k to restore the previously saved state
rather than enable interrupts unconditionally.

Tested by and OK aoyama@; no objection deraadt@