freebsd-dev/sys/fs/tmpfs
Konstantin Belousov 15ad3e51c5 Convert another tmpfs assert into runtime check.
The offset of the directory file, passed to getdirentries(2) syscall,
is user-controllable.  The value of the offset must not be asserted,
instead the invalid value should be checked and rejected if invalid.

Reported and tested by:	pho
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
2016-08-10 13:50:21 +00:00
..
tmpfs_fifoops.c Remove code separator lines which do not conform to style(9). 2014-07-14 08:17:11 +00:00
tmpfs_fifoops.h Remove code separator lines which do not conform to style(9). 2014-07-14 08:17:11 +00:00
tmpfs_subr.c Convert another tmpfs assert into runtime check. 2016-08-10 13:50:21 +00:00
tmpfs_vfsops.c Check suspendability on the mountpoint returned by VOP_GETWRITEMOUNT. 2015-07-05 22:37:33 +00:00
tmpfs_vnops.c sys/fs: spelling fixes in comments. 2016-04-29 20:51:24 +00:00
tmpfs_vnops.h Remove code separator lines which do not conform to style(9). 2014-07-14 08:17:11 +00:00
tmpfs.h Update mtime for tmpfs files modified through memory mapping. Similar 2015-01-28 10:37:23 +00:00