freebsd-dev/sys/miscfs
Bruce Evans a395dbb153 Avoid a 64-bit division in procfs_readdir(). Fixed related overflows.
Check args using the same expression as in fdesc and kernfs.  The check
was actually already correct, modulo overflow.  It could be tightened
up to either allow huge (aligned) offsets, treating them as EOF, or
disallow all offsets beyond EOF.

Didn't fix invalid address calculation &foo[i] where i may be out of
bounds.

Didn't fix shooting of foot using a private unportable dirent struct.
1998-06-14 12:53:39 +00:00
..
deadfs Add support for poll(2) on files. vop_nopoll() now returns POLLNVAL 1997-12-15 03:09:59 +00:00
devfs Don't silently accept attempts to change flags where they are not 1998-06-10 06:34:57 +00:00
fdesc Avoid a 64-bit division in fdesc_readdir(). Fixed related overflows 1998-06-14 08:46:41 +00:00
fifofs Back out DIAGNOSTIC changes. 1998-02-06 12:14:30 +00:00
kernfs Avoid a 64-bit division in kernfs_readdir(). Fixed related overflows 1998-06-14 12:34:42 +00:00
nullfs Don't silently accept attempts to change flags where they are not 1998-06-10 06:34:57 +00:00
portal Make these files compile. 1998-06-10 21:21:31 +00:00
procfs Avoid a 64-bit division in procfs_readdir(). Fixed related overflows. 1998-06-14 12:53:39 +00:00
specfs This commit fixes various 64bit portability problems required for 1998-06-07 17:13:14 +00:00
umapfs As described by the submitter: 1998-05-06 05:29:41 +00:00
union In the words of the submitter: 1998-05-07 04:58:58 +00:00