Date: Fri, 25 Jan 2008 09:34:31 +0000 From: Alexey Dokuchaev <danfe@FreeBSD.org> To: Jean-Sebastien Pedron <dumbbell@FreeBSD.org> Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/sys event.h src/sys/kern vfs_aio.c Message-ID: <20080125093431.GA26126@FreeBSD.org> In-Reply-To: <200801241710.m0OHAJCG083388@repoman.freebsd.org> References: <200801241710.m0OHAJCG083388@repoman.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Jan 24, 2008 at 05:10:19PM +0000, Jean-Sebastien Pedron wrote: > dumbbell 2008-01-24 17:10:19 UTC > > FreeBSD src repository > > Modified files: > sys/sys event.h > sys/kern vfs_aio.c > Log: > When asked to use kqueue, AIO stores its internal state in the > `kn_sdata' member of the newly registered knote. The problem is that > this member is overwritten by a call to kevent(2) with the EV_ADD flag, > targetted at the same kevent/knote. For instance, a userland application > may set the pointer to NULL, leading to a panic. > > A testcase was provided by the submitter. Given we have a test case, should it be put in our regression suit? ./danfe
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080125093431.GA26126>