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. |
||
---|---|---|
.. | ||
Makefile | ||
fdesc.h | ||
fdesc_vfsops.c | ||
fdesc_vnops.c |