2e649e46d3
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. |
||
---|---|---|
.. | ||
kernfs_vfsops.c | ||
kernfs_vnops.c | ||
kernfs.h | ||
Makefile |