git: kernel - Do not block indefinitely in exit1() when draining controlling tty
Matthew Dillon
dillon at crater.dragonflybsd.org
Mon Nov 29 12:48:21 PST 2021
commit de22b67f22f891aa5d46702543b6a996b1ebc66c
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date: Mon Nov 29 12:46:07 2021 -0800
kernel - Do not block indefinitely in exit1() when draining controlling tty
* exit1() tries to drain the controlling terminal. This can block
indefinitely and signals are no longer operational. Force a
1-second timeout for drain attempts.
This is a bit of a hack but it works.
Reported-by: zach, pikrzyszt, piecuch, bug #3239
Summary of changes:
sys/kern/kern_exit.c | 15 +++++++++++----
1 file changed, 11 insertions(+), 4 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/de22b67f22f891aa5d46702543b6a996b1ebc66c
--
DragonFly BSD source repository
More information about the Commits
mailing list