* 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>
static int filt_signal(struct knote *kn, long hint);
struct filterops sig_filtops =
- { FILTEROP_ISFD, filt_sigattach, filt_sigdetach, filt_signal };
+ { 0, filt_sigattach, filt_sigdetach, filt_signal };
static int kern_logsigexit = 1;
SYSCTL_INT(_kern, KERN_LOGSIGEXIT, logsigexit, CTLFLAG_RW,