freebsd-skq/sys/fs
Pedro F. Giffuni ee233ab975 {ext2|ufs}_readdir: Set limit on valid ncookies values.
Sanitize the values that will be assigned to ncookies so that we ensure
they are sane and we can handle them.

Let ncookies signed as it was before r328346. The valid range is such
that unsigned values are not required and we are not able to avoid at
least one cast anyways.

Hinted by:	bde
2018-01-27 15:33:52 +00:00
..
autofs Add SPDX tags to autofs(5). 2018-01-24 16:40:26 +00:00
cd9660 Unsign some values related to allocation. 2018-01-22 02:08:10 +00:00
cuse Allow CUSE(3) to free all memory mapped memory by using regular SWAP objects 2017-11-03 14:10:57 +00:00
deadfs sys: further adoption of SPDX licensing ID tags. 2017-11-20 19:43:44 +00:00
devfs Report INT_MAX for LINK_MAX for devfs' VOP_PATHCONF(). 2017-12-19 20:07:57 +00:00
ext2fs {ext2|ufs}_readdir: Set limit on valid ncookies values. 2018-01-27 15:33:52 +00:00
fdescfs Use long for the last argument to VOP_PATHCONF rather than a register_t. 2018-01-17 22:36:58 +00:00
fifofs Rework pathconf handling for FIFOs. 2017-12-19 22:39:05 +00:00
fuse Update link count handling in fuse for post-ino64. 2017-12-19 22:40:54 +00:00
msdosfs Move NAME_MAX, LINK_MAX, and CHOWN_RESTRICTED out of vop_stdpathconf(). 2017-12-19 19:51:36 +00:00
nandfs Unsign some values related to allocation. 2018-01-22 02:08:10 +00:00
nfs nfs: Remove NFSSOCKADDRALLOC, NFSSOCKADDRFREE macros 2018-01-25 22:38:39 +00:00
nfsclient style: Remove remaining deprecated MALLOC/FREE macros 2018-01-25 22:25:13 +00:00
nfsserver nfs: Remove NFSSOCKADDRALLOC, NFSSOCKADDRFREE macros 2018-01-25 22:38:39 +00:00
nullfs Make nullfs properly report MNT_AUTOMOUNTED set on the nullfs mount itself, 2018-01-10 17:51:02 +00:00
procfs Correct comment. procfs_doprocfile implements 'file', not 'self'. 2018-01-05 18:32:46 +00:00
pseudofs sys/fs: further adoption of SPDX licensing ID tags. 2017-11-27 15:15:37 +00:00
smbfs Use long for the last argument to VOP_PATHCONF rather than a register_t. 2018-01-17 22:36:58 +00:00
tmpfs Use long for the last argument to VOP_PATHCONF rather than a register_t. 2018-01-17 22:36:58 +00:00
udf Rework pathconf handling for FIFOs. 2017-12-19 22:39:05 +00:00
unionfs sys: further adoption of SPDX licensing ID tags. 2017-11-20 19:43:44 +00:00