CVSROOT: /cvs Module name: src Changes by: bl...@cvs.openbsd.org 2019/05/13 13:21:32
Modified files: sys/kern : exec_elf.c kern_exit.c kern_sig.c tty.c sys/nfs : nfs_socket.c sys/sys : proc.h signalvar.h sysctl.h Log message: When killing a process, the signal is handled by any thread that does not block the signal. If all threads block the signal, we delivered it to the main thread. This does not conform to POSIX. If any thread unblocks the signal, it should be delivered immediately to this thread. Mark such signals pending at the process instead of a single thread. Then any thread can handle it later. OK kettenis@ guenther@