Complete r302215. TDF_SBDRY | TDF_SERESTART and TDF_SBDRY |
commitfb3ea99e649137928787bf59dba50efdce32c30b
authorkib <kib@FreeBSD.org>
Tue, 28 Jun 2016 16:41:50 +0000 (28 16:41 +0000)
committerkib <kib@FreeBSD.org>
Tue, 28 Jun 2016 16:41:50 +0000 (28 16:41 +0000)
treef9ca32630bbbc3bc8f2848f38ba73471d624b7f3
parentbe49875b46f954d583aa76b801a58d766f5e48fe
Complete r302215.  TDF_SBDRY | TDF_SERESTART and TDF_SBDRY |
TDF_SEINTR flags values, unlike TDF_SBDRY, must be treated almost as
if TDF_SBDRY is not set for STOP signal delivery.  The only difference
is that sig_suspend_threads() should abort the sleep instead of doing
immediate suspension.

Reported by: ngie
Sponsored by: The FreeBSD Foundation
MFC after: 12 days
Approved by: re (gjb)
sys/kern/kern_sig.c