summaryrefslogtreecommitdiffstats
path: root/usr.bin
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2006-03-14 19:29:45 +0000
committerrwatson <rwatson@FreeBSD.org>2006-03-14 19:29:45 +0000
commit40fd39052074528ac10bac208ac9a7e7f574aef7 (patch)
tree4a92fd31d5889e855f0774e0265f95da7e9dca29 /usr.bin
parentf8eae18feaf7131fbf001929cb08fcab8c8ddfe0 (diff)
downloadFreeBSD-src-40fd39052074528ac10bac208ac9a7e7f574aef7.zip
FreeBSD-src-40fd39052074528ac10bac208ac9a7e7f574aef7.tar.gz
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
Diffstat (limited to 'usr.bin')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud