freebsd-dev/sys/fs/pseudofs
Konstantin Belousov 587430f254 Redo r258088 to avoid relying on signed arithmetic overflow, since
compiler interprets this as an undefined behaviour.  Instead, ensure
that the sum of uio_offset and uio_resid is below OFF_MAX using the
operation which cannot overflow.

Reported and tested by:	pho
Discussed with:	bde
Approved by:	des (pseudofs maintainer)
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
2013-11-20 19:41:00 +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 Redo r258088 to avoid relying on signed arithmetic overflow, since 2013-11-20 19:41:00 +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