OpenGrok
Cross Reference: t_kevent.c
xref
: /
src
/
tests
/
lib
/
libc
/
sys
/
t_kevent.c
Home
|
History
|
Annotate
|
Download
|
only in
sys
History log of
/src/tests/lib/libc/sys/t_kevent.c
Revision
Date
Author
Comments
1.9
31-Oct-2020
christos
PR/55663: Ruslan Nikolaev: Add support for EVFILT_USER in kqueue(2)
1.8
25-Jun-2020
jruoho
Reference PRs consistently.
1.7
05-Feb-2015
isaki
Skip kqueue_unsupported_fd test if /dev/drvctl is not configured
in the kernel. PR bin/49644.
XXX Ideally, it's better to modify to use more generic device file.
1.6
29-Nov-2012
martin
Skip kqueue_unsupported_fd if the drvctl device is not present.
1.5
24-Nov-2012
christos
Add a test for adding an event to an unsupported fd.
1.4
02-Jun-2012
martin
branches: 1.4.2;
adapt to new reality
1.3
31-May-2012
martin
Add a (skipped for now) test case for PR 46463
1.2
18-Mar-2012
jruoho
branches: 1.2.2;
Move the references to PRs from code comments to the test description. Once
ATF has the ability to output the metadata in the HTML reports, it should be
easy to traverse between releng and gnats -reports via links.
1.1
17-Nov-2011
christos
branches: 1.1.2; 1.1.6;
Add a test for PR/45618: Motoyuki OHMORI: kqueue EVFILT_TIMER with smaller
timeout value makes kernel busy or panic
1.1.6.1
24-Nov-2012
jdc
Pull up revisions:
src/sys/kern/kern_event.c revision 1.79
src/sys/kern/kern_descrip.c revision 1.219
src/lib/libc/sys/kqueue.2 revision 1.33
src/tests/lib/libc/sys/t_kevent.c revision 1.2-1.5
(requested by christos in ticket #716).
- initialize kn_id
- in close, invalidate f_data and f_type early to prevent accidental re-use
- add a DIAGNOSTIC for when we use unsupported fd's and a KASSERT for f_event
being NULL.
Return EOPNOTSUPP for fnullop_kqfilter to prevent registration of unsupported
fds. XXX: We should really fix the fd's to be supported in the future.
Unsupported fd's have a NULL f_event, so registering crashes the kernel with
a NULL function dereference of f_event.
mention that kevent returns now EOPNOTSUPP.
Move the references to PRs from code comments to the test description. Once
ATF has the ability to output the metadata in the HTML reports, it should be
easy to traverse between releng and gnats -reports via links.
Add a (skipped for now) test case for PR 46463
adapt to new reality
Add a test for adding an event to an unsupported fd.
1.1.2.1
24-Nov-2012
jdc
Pull up revisions:
src/sys/kern/kern_event.c revision 1.79
src/sys/kern/kern_descrip.c revision 1.219
src/lib/libc/sys/kqueue.2 revision 1.33
src/tests/lib/libc/sys/t_kevent.c revision 1.2-1.5
(requested by christos in ticket #716).
- initialize kn_id
- in close, invalidate f_data and f_type early to prevent accidental re-use
- add a DIAGNOSTIC for when we use unsupported fd's and a KASSERT for f_event
being NULL.
Return EOPNOTSUPP for fnullop_kqfilter to prevent registration of unsupported
fds. XXX: We should really fix the fd's to be supported in the future.
Unsupported fd's have a NULL f_event, so registering crashes the kernel with
a NULL function dereference of f_event.
mention that kevent returns now EOPNOTSUPP.
Move the references to PRs from code comments to the test description. Once
ATF has the ability to output the metadata in the HTML reports, it should be
easy to traverse between releng and gnats -reports via links.
Add a (skipped for now) test case for PR 46463
adapt to new reality
Add a test for adding an event to an unsupported fd.
1.2.2.4
16-Jan-2013
yamt
sync with (a bit old) head
1.2.2.3
30-Oct-2012
yamt
sync with head
1.2.2.2
17-Apr-2012
yamt
sync with head
1.2.2.1
18-Mar-2012
yamt
file t_kevent.c was added on branch yamt-pagecache on 2012-04-17 00:09:12 +0000
1.4.2.1
25-Feb-2013
tls
resync with head
Indexes created Mon Sep 29 03:10:08 GMT 2025