Robert Watson 447bbaa2cf Trim down now (believed to be) unused fifo_ioctl() and
fifo_kqfilter() VOP implementations, since they in theory are used
only on open file descriptors, in which case the ioctls are via
fifo_ioctl_f() and kqueue requests are via fifo_kqfilter_f().
Generate warnings if they are entered for now.  These printf()
calls should become panic() calls.

Annotate and re-implement fifo_ioctl_f(): don't arbitrarily
forward ioctls to the socket layer, only forward the ones we
explicitly support for fifos.  In the case of FIONREAD, don't
forward the request to the write socket on a read-write fifo, or
the read result is overwritten.  Annotate a nasty case for the
undefined POSIX O_RDWR on fifos, in which failure of the second
ioctl will result in the socket pair being in an inconsistent
state.

Assert copyright as I find myself rewriting non-trivial parts of
fifofs.

MFC after:	3 days
2005-09-13 17:46:48 +00:00
..
2005-09-11 20:51:15 +00:00
2005-09-11 18:39:03 +00:00
2005-09-13 08:29:03 +00:00
2005-09-13 17:41:48 +00:00
2005-03-28 18:31:18 +00:00
2005-09-10 07:46:47 +00:00
2005-09-12 13:50:56 +00:00
2005-09-11 20:51:15 +00:00
2005-09-13 11:34:07 +00:00
2005-09-12 01:21:42 +00:00