Introduce PS_NOBROADCASTKILL a process flag that excludes processes from
authorclaudio <claudio@openbsd.org>
Sun, 13 Jul 2014 16:41:21 +0000 (16:41 +0000)
committerclaudio <claudio@openbsd.org>
Sun, 13 Jul 2014 16:41:21 +0000 (16:41 +0000)
commit557a2e77887aad35a0a6d434142c294424f1505d
treefe554355ff8c2d364cb8d8fcd139b42bef37e23d
parent2162551d1393aa6028cf3a7e765af2a83294655f
Introduce PS_NOBROADCASTKILL a process flag that excludes processes from
receiving broadcast signals (kill -1). The flag can be set via a new
sysctl KERN_PROC_NOBROADCASTKILL. This will be used by iscsid to survive
the mass killing by init(8) when terminating multi-user operations.
With and OK guenther@
sys/kern/kern_sig.c
sys/kern/kern_sysctl.c
sys/sys/proc.h
sys/sys/sysctl.h