freebsd-dev/sys/fs
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
..
cd9660 NULL stale pointers (should be a no-op as they should no longer be 2013-09-25 02:49:18 +00:00
deadfs The deadfs VOPs for vop_ioctl and vop_bmap call itself recursively, 2012-09-13 13:05:45 +00:00
devfs Similar to debug.iosize_max_clamp sysctl, introduce 2013-10-15 06:33:10 +00:00
ext2fs UFS2: make di_extsize unsigned. 2013-10-24 00:33:29 +00:00
fdescfs Handle cases where capability rights are not provided. 2013-09-05 11:58:12 +00:00
fifofs I am comparing current pipe code with the one in 8.3-STABLE r236165, 2012-07-31 05:48:35 +00:00
fuse Change the cap_rights_t type from uint64_t to a structure that we can extend 2013-09-05 00:09:56 +00:00
msdosfs Expand the use of stat(2) flags to allow storing some Windows/DOS 2013-08-21 23:04:48 +00:00
nandfs - Convert the bufobj lock to rwlock. 2013-05-31 00:43:41 +00:00
nfs Fix an NFSv4.1 client specific case where a forced dismount would hang. 2013-11-09 21:24:56 +00:00
nfsclient Fix an NFSv4.1 client specific case where a forced dismount would hang. 2013-11-09 21:24:56 +00:00
nfsserver Change the cap_rights_t type from uint64_t to a structure that we can extend 2013-09-05 00:09:56 +00:00
nullfs Fix the length calculation for the final block of a sendfile(2) 2013-09-10 10:05:59 +00:00
procfs Relax the vm object locking. Use a read lock. 2013-06-05 17:00:10 +00:00
pseudofs Redo r258088 to avoid relying on signed arithmetic overflow, since 2013-11-20 19:41:00 +00:00
smbfs Expand the use of stat(2) flags to allow storing some Windows/DOS 2013-08-21 23:04:48 +00:00
tmpfs Support storing 7 additional file flags in tmpfs: 2013-08-28 22:12:56 +00:00
udf Add currently unused flag argument to the cluster_read(), 2013-03-14 20:28:26 +00:00
unionfs r16312 is not any longer real since many years (likely since when VFS 2012-11-19 22:43:45 +00:00