]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Fix one bug where the kn_head list could be manipulated without
authorJonathan Lemon <jlemon@FreeBSD.org>
Thu, 4 May 2000 20:19:17 +0000 (20:19 +0000)
committerJonathan Lemon <jlemon@FreeBSD.org>
Thu, 4 May 2000 20:19:17 +0000 (20:19 +0000)
commitb4b03426caff29aa9436328b6c79069002029d09
tree7493bc9b91a1da6b418e00bd29e477b47d0bef67
parent5e97a5621a08f1eab525af832a0671e51898855f
Fix one bug where the kn_head list could be manipulated without
spl() protection in the case of a copyout error.

Add missing spl calls around the intial activation call that is
done when when the kevent is added.

Add two KASSERT macros to help catch errors in the future.
sys/kern/kern_event.c