cvs commit: src/sys/fs/fifofs fifo_vnops.c
Robert Watson
rwatson at FreeBSD.org
Tue Mar 14 19:29:46 UTC 2006
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
More information about the cvs-src
mailing list