freebsd-dev/sys/fs
Ed Maste 8edac6eee6 Add nid_namelen bounds check to nfssvc system call
This is only allowed by root and only used by the nfs daemon, which
should not provide an incorrect value. However, it's still good
practice to validate data provided by userland.

PR:		206626
Reported by:	CTurt <cturt@hardenedbsd.org>
Reviewed by:	rmacklem
MFC after:	1 month
Differential Revision:	https://reviews.freebsd.org/D6201
2016-05-06 21:19:28 +00:00
..
autofs kernel: use our nitems() macro when it is available through param.h. 2016-04-19 23:48:27 +00:00
cd9660 fs misc: for pointers replace 0 with NULL. 2016-04-15 17:28:24 +00:00
cuse Make CUSE usable with platforms where the size of "unsigned long" is 2015-12-22 09:55:44 +00:00
deadfs Style changes for deadfs: 2014-10-15 13:22:33 +00:00
devfs sys/devfs: unsign an index to prevent signed integer overflow. 2016-04-28 02:39:43 +00:00
ext2fs fs/ext2fs: spelling fixes on comment. 2016-04-29 20:45:50 +00:00
fdescfs Rationalize license numbering in fdescfs(5) 2016-04-30 16:01:37 +00:00
fifofs Ensure that when a blockable open of fifo returns success, a valid 2015-09-20 21:18:33 +00:00
fuse sys/fs: spelling fixes in comments. 2016-04-29 20:51:24 +00:00
msdosfs sys/fs: spelling fixes in comments. 2016-04-29 20:51:24 +00:00
nandfs sys: Make use of our rounddown() macro when sys/param.h is available. 2016-04-30 14:41:18 +00:00
nfs Add nid_namelen bounds check to nfssvc system call 2016-05-06 21:19:28 +00:00
nfsclient NFS: spelling fixes on comments. 2016-04-29 16:07:25 +00:00
nfsserver NFS: spelling fixes on comments. 2016-04-29 16:07:25 +00:00
nullfs sys/fs: spelling fixes in comments. 2016-04-29 20:51:24 +00:00
procfs - Consistently use PROC_ASSERT_HELD() to verify that a process' hold count 2015-11-08 01:38:56 +00:00
pseudofs Do not perform unneccessary shared recursion on the allproc_lock in 2016-03-11 11:51:38 +00:00
smbfs sys/fs: spelling fixes in comments. 2016-04-29 20:51:24 +00:00
tmpfs sys/fs: spelling fixes in comments. 2016-04-29 20:51:24 +00:00
udf sys/fs: spelling fixes in comments. 2016-04-29 20:51:24 +00:00
unionfs Cleanup unnecessary semicolons from the kernel. 2016-04-10 23:07:00 +00:00