NetBSD/sys/miscfs
sommerfeld 2e649e46d3 Fix PR8270:
Problem turned out to be due to improper handling of reads beyond EOF:
they should just return without error with the uio unchanged, and the
caller will recognize this as a zero-byte return (EOF).

The previous fix to protect directory reads against bogus uio_offset
values returned EINVAL, which broke mount -o union, which only
union'ed in the lower directory if the upper directory cleanly
returned EOF.

While we're here, protect kernfs as well.
1999-08-24 23:29:08 +00:00
..
deadfs Since the interlock has been unlocked, also clear LK_INTERLOCK from 1998-05-18 16:47:37 +00:00
fdesc Fix PR8270: 1999-08-24 23:29:08 +00:00
fifofs Use the so_send and so_receive funcptrs in the socket instead of calling 1998-10-31 01:18:41 +00:00
genfs Add support for fcntl(2) to generate VOP_FCNTL calls. Any fcntl 1999-08-03 20:19:16 +00:00
kernfs Fix PR8270: 1999-08-24 23:29:08 +00:00
nullfs Introduce layer library in genfs. This set of files abstracts most of 1999-07-08 01:18:59 +00:00
portal Add support for fcntl(2) to generate VOP_FCNTL calls. Any fcntl 1999-08-03 20:19:16 +00:00
procfs Fix PR8270: 1999-08-24 23:29:08 +00:00
specfs Make spec_write() process errors and return them, otherwise we don't even 1998-10-02 00:21:39 +00:00
umapfs Fin uninitialized variable use noted by Simon Burge. 1999-08-16 21:24:53 +00:00
union Fix PR4439: directory link count in unions where only upper directory 1999-08-01 23:16:34 +00:00
Makefile Rework the way kernel include files are installed. In the new method, 1998-06-12 23:22:30 +00:00