Date: Mon, 20 Mar 2006 14:24:21 +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: <200603201424.k2KEOLE6009797@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
rwatson 2006-03-20 14:24:21 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_6)
sys/fs/fifofs fifo_vnops.c
Log:
Merge fifo_vnops.c:1.133 from HEAD to RELENG_6:
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.
Reported by: Martin <nakal at nurfuerspam dot de>
PR: 94278
Approved by: re (scottl)
Revision Changes Path
1.113.2.18 +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?200603201424.k2KEOLE6009797>
