kernel - Fix kqueue panic on signal event knote
authorMatthew Dillon <dillon@apollo.backplane.com>
Sun, 8 Aug 2010 19:43:04 +0000 (12:43 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Sun, 8 Aug 2010 19:44:24 +0000 (12:44 -0700)
commit1b4783859be4c28d8fee66b0f750d816a2cdda48
tree81f99f2e6966e09a362bc01d75293b7a22a52ec8
parent39962b7c8809b6596e9224e1adadd2a3033ab9f5
kernel - Fix kqueue panic on signal event knote

* sig_filtops filters on a process, not a file descriptor.  Remove
  the FILTEROP_ISFD flag.

  This should fix a panic when the kqueue is closed while the signal
  event is still active.

Reported-by: Jan Lentfer <Jan.Lentfer@web.de>
sys/kern/kern_sig.c