Subject: CVS commit: [kqueue] syssrc/sys/kern
To: None <source-changes@netbsd.org>
From: Luke Mewburn <lukem@netbsd.org>
List: source-changes
Date: 07/10/2001 16:42:31
Module Name: syssrc
Committed By: lukem
Date: Tue Jul 10 13:42:31 UTC 2001
Modified Files:
syssrc/sys/kern [kqueue]: kern_event.c
Log Message:
* update for differences between netbsd & freebsd WRT:
- header files
- struct locking
- pool (& other memory) allocation
- timeouts
* add kqueue_ioctl(), to support ioctl(2) operations on a kqueue fd.
* change the way that system filters are referenced to support name lookups
and unimplemented (yet known about) filter types (such as EVFILT_AIO)
* add kfilter_register(9): register filter with given name to map to given
filterops. filter must not exist
* add kfilter_unregister(9): unregister user filter
* add kfilter_byname(): lookup filter by name, which can be a system filter
or a user-added filter
* add kfilter_byfilter(): lookup filter by filter number
* in kqueue_register(), use kfilter_byfilter() to determine filterops rather
than using obscure ~ operation (which was now incorrect due to renumbering)
* cleanup whitespace, improve comments
* check return code of all copyouts()s
To generate a diff of this commit:
cvs rdiff -r1.1.1.1 -r1.1.1.1.2.1 syssrc/sys/kern/kern_event.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.