freebsd-dev/sys/fs/pseudofs
Konstantin Belousov 5ba4de79a7 Remove useless comparisions of assigned offset and resid with the
sources from uio.  Both uio_offset and offset, and uio_resid and resid
have the same types for some time.

Add check for buflen overflow by comparing the buflen with both offset
and resid (vs. comparing with offset only, as it is currently done).

Reported and tested by:	pho
Approved by:	des (pseudofs maintainer)
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
2013-11-13 08:55:09 +00:00
..
pseudofs_fileno.c Convert files to UTF-8 2012-01-15 13:23:18 +00:00
pseudofs_internal.h Convert files to UTF-8 2012-01-15 13:23:18 +00:00
pseudofs_vncache.c Convert files to UTF-8 2012-01-15 13:23:18 +00:00
pseudofs_vnops.c Remove useless comparisions of assigned offset and resid with the 2013-11-13 08:55:09 +00:00
pseudofs.c Complete MPSAFE VFS interface and remove MNTK_MPSAFE flag. 2012-11-09 18:02:25 +00:00
pseudofs.h Add procfs to jail-mountable filesystems. 2012-02-29 00:30:18 +00:00