opnsense-src/sys/fs
Pedro F. Giffuni d48d1a6464 nfsclient: make some use of mallocarray(9).
Focus on code where we are doing multiplications within malloc(9). None of
these ire likely to overflow, however the change is still useful as some
static checkers can benefit from the allocation attributes we use for
mallocarray.

This initial sweep only covers malloc(9) calls with M_NOWAIT. No good
reason but I started doing the changes before r327796 and at that time it
was convenient to make sure the sorrounding code could handle NULL values.

X-Differential revision: https://reviews.freebsd.org/D13837
2018-01-15 21:14:56 +00:00
..
autofs Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
cd9660 Do pass removing some write-only variables from the kernel. 2017-12-25 04:48:39 +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 Add metadata_csum feature support. 2018-01-14 20:46:39 +00:00
fdescfs Add a custom VOP_PATHCONF method for fdescfs. 2017-12-19 18:20:38 +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 Rework pathconf handling for FIFOs. 2017-12-19 22:39:05 +00:00
nfs Do pass removing some write-only variables from the kernel. 2017-12-25 04:48:39 +00:00
nfsclient nfsclient: make some use of mallocarray(9). 2018-01-15 21:14:56 +00:00
nfsserver Do pass removing some write-only variables from the kernel. 2017-12-25 04:48: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 Move NAME_MAX, LINK_MAX, and CHOWN_RESTRICTED out of vop_stdpathconf(). 2017-12-19 19:51:36 +00:00
tmpfs Rework pathconf handling for FIFOs. 2017-12-19 22:39:05 +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