Mark Johnston a2afae524a Ensure that knotes do not get registered when KQ_CLOSING is set.
KQ_CLOSING is set before draining the knotes associated with a kqueue,
so we must ensure that new knotes are not added after that point.  In
particular, some kernel facilities may register for events on behalf
of a userspace process and race with a close of the kqueue.

PR:		228858
Reviewed by:	kib
Tested by:	pho
MFC after:	3 days
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D18316
2018-11-24 16:58:34 +00:00
..
2018-04-13 20:30:49 +00:00
2018-11-06 18:03:04 +00:00
2018-08-04 20:45:43 +00:00
2018-10-30 21:35:56 +00:00
2018-10-22 02:35:12 +00:00
2017-12-13 16:30:39 +00:00
2018-06-13 16:48:07 +00:00
2018-10-12 00:32:45 +00:00
2018-08-18 19:45:56 +00:00
2018-04-08 16:34:10 +00:00
2018-06-01 13:26:45 +00:00
2018-11-20 14:58:41 +00:00
2018-10-25 15:40:59 +00:00
2018-11-20 14:59:27 +00:00
2018-11-09 21:01:16 +00:00
2018-06-01 13:26:45 +00:00
2018-11-11 00:21:28 +00:00
2018-11-19 00:54:31 +00:00
2018-06-01 13:26:45 +00:00
2018-10-23 21:43:41 +00:00
2018-08-17 16:07:06 +00:00