diff options
author | mpi <mpi@openbsd.org> | 2020-06-15 15:42:11 +0000 |
---|---|---|
committer | mpi <mpi@openbsd.org> | 2020-06-15 15:42:11 +0000 |
commit | cd7317608c2935dc76e7edbef5164cf5eec1552f (patch) | |
tree | 6581a1dcb90042a207ec9faa42a97b1c54866a1d /sys/sys/event.h | |
parent | Set __EV_HUP when the conditions matching poll(2)'s POLLUP are found. (diff) | |
download | wireguard-openbsd-cd7317608c2935dc76e7edbef5164cf5eec1552f.tar.xz wireguard-openbsd-cd7317608c2935dc76e7edbef5164cf5eec1552f.zip |
Implement a simple kqfilter for deadfs matching its poll handler.
ok visa@, millert@
Diffstat (limited to 'sys/sys/event.h')
-rw-r--r-- | sys/sys/event.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/sys/event.h b/sys/sys/event.h index b4539666c9a..93a8a904d90 100644 --- a/sys/sys/event.h +++ b/sys/sys/event.h @@ -1,4 +1,4 @@ -/* $OpenBSD: event.h,v 1.42 2020/06/15 15:29:40 mpi Exp $ */ +/* $OpenBSD: event.h,v 1.43 2020/06/15 15:42:11 mpi Exp $ */ /*- * Copyright (c) 1999,2000,2001 Jonathan Lemon <jlemon@FreeBSD.org> @@ -196,6 +196,7 @@ struct knote { struct proc; extern const struct filterops sig_filtops; +extern const struct filterops dead_filtops; extern void knote(struct klist *list, long hint); extern void knote_activate(struct knote *); |