[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
PR/46463 CVS commit: [netbsd-6] src
The following reply was made to PR kern/46463; it has been noted by GNATS.
From: "Julian Coleman" <jdc%netbsd.org@localhost>
Subject: PR/46463 CVS commit: [netbsd-6] src
Date: Sat, 24 Nov 2012 21:40:03 +0000
Module Name: src
Committed By: jdc
Date: Sat Nov 24 21:40:03 UTC 2012
src/lib/libc/sys [netbsd-6]: kqueue.2
src/sys/kern [netbsd-6]: kern_descrip.c kern_event.c
src/tests/lib/libc/sys [netbsd-6]: t_kevent.c
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
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.
To generate a diff of this commit:
cvs rdiff -u -r1.32 -r22.214.171.124 src/lib/libc/sys/kqueue.2
cvs rdiff -u -r1.218 -r126.96.36.199 src/sys/kern/kern_descrip.c
cvs rdiff -u -r1.75 -r188.8.131.52 src/sys/kern/kern_event.c
cvs rdiff -u -r1.1 -r184.108.40.206 src/tests/lib/libc/sys/t_kevent.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Main Index |
Thread Index |