Date: Tue, 14 Mar 2006 19:29:45 +0000 (UTC) From: Robert Watson <rwatson@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/fs/fifofs fifo_vnops.c Message-ID: <200603141929.k2EJTjli077464@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
rwatson 2006-03-14 19:29:45 UTC FreeBSD src repository Modified files: sys/fs/fifofs fifo_vnops.c Log: If fifo_open() is called with a negative file descriptor, return EINVAL rather than panicking later. This can occur if the kernel calls vn_open() on a fifo, as there will be no associated file descriptor, and therefore the file descriptor operations cannot be modified to point to the fifo operation set. MFC after: 3 days Reported by: Martin <nakal at nurfuerspam dot de> PR: 94278 Revision Changes Path 1.133 +2 -0 src/sys/fs/fifofs/fifo_vnops.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200603141929.k2EJTjli077464>