introduce a filter called EVFILT_DEVICE that can be used to notify
authorrobert <robert@openbsd.org>
Sat, 13 Jan 2018 12:58:40 +0000 (12:58 +0000)
committerrobert <robert@openbsd.org>
Sat, 13 Jan 2018 12:58:40 +0000 (12:58 +0000)
commit586ac5a17b495f9217afcad55bf601907d19d47c
tree80559eb12a1ae7a45699fbf24a41d31c40cea1c5
parent5662472941be4ff3b5d8515e43987369b3e1cde6
introduce a filter called EVFILT_DEVICE that can be used to notify
listeners of device state changes.
currently only supports NOTE_CHANGE that will be used by drm(4)

ok kettenis@
lib/libc/sys/kqueue.2
sys/kern/kern_event.c
sys/sys/event.h