Date: Sun, 3 Jun 2001 21:04:46 -0700 (PDT) From: Matt Dillon <dillon@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern sys_pipe.c Message-ID: <200106040404.f5444kH27102@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
dillon 2001/06/03 21:04:46 PDT
Modified files:
sys/kern sys_pipe.c
Log:
The pipe_write() code was locking the pipe without busying it first in
certain cases, and a close() by another process could potentially rip the
pipe out from under the (blocked) locking operation.
Reported-by: Alexander Viro <viro@math.psu.edu>
Revision Changes Path
1.81 +21 -6 src/sys/kern/sys_pipe.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200106040404.f5444kH27102>
