freebsd-skq/sys
pfg 036ebddf97 ufs: use mallocarray(9).
Basic use of mallocarray to prevent overflows: static analyzers are also
likely to perform additional checks.

Since mallocarray expects unsigned parameters, unsign some
related variables to minimize sign conversions.

Reviewed by:	mckusick
2018-01-17 18:18:33 +00:00
..
amd64 PTI for amd64. 2018-01-17 11:44:21 +00:00
arm arm: make some use of mallocarray(9). 2018-01-15 21:09:58 +00:00
arm64 arm: make some use of mallocarray(9). 2018-01-15 21:09:58 +00:00
bsm
cam SPDX: finish tagging sys/cam. 2018-01-16 23:19:57 +00:00
cddl Use the thread's ucred struct when fetching jid or jailname. 2018-01-14 17:55:40 +00:00
compat ndis: make some use of mallocarray(9). 2018-01-15 21:11:38 +00:00
conf Use ln -n instead of -h to allow building the kernel on Linux 2018-01-16 21:43:57 +00:00
contrib zstd: Use mallocarray(9) for calloc macro. 2018-01-13 19:02:51 +00:00
crypto Revert r327340, as the workaround for rep prefixes followed by .byte 2018-01-17 17:14:19 +00:00
ddb Implement 'domainset', a cpuset based NUMA policy mechanism. This allows 2018-01-12 22:48:23 +00:00
dev Move setting of CAM_SIM_QUEUED to before we actually submit it to the 2018-01-17 17:08:26 +00:00
dts Add a rudimentary PWM driver for the RaspberryPi. 2018-01-14 20:36:21 +00:00
fs ext2fs: use mallocarray(9). 2018-01-16 19:29:32 +00:00
gdb
geom misc geom and gnu: make some use of mallocarray(9). 2018-01-15 21:23:16 +00:00
gnu misc geom and gnu: make some use of mallocarray(9). 2018-01-15 21:23:16 +00:00
i386 PTI for amd64. 2018-01-17 11:44:21 +00:00
isa
kern kern: make some use of mallocarray(9). 2018-01-15 21:18:04 +00:00
kgssapi
libkern
mips Fix build after r328020. 2018-01-16 06:04:39 +00:00
modules Add a rudimentary PWM driver for the RaspberryPi. 2018-01-14 20:36:21 +00:00
net net*: make some use of mallocarray(9). 2018-01-15 21:21:51 +00:00
net80211
netgraph netgraph: make some use of mallocarray(9). 2018-01-15 21:19:21 +00:00
netinet Fix a bug related to fast retransmissions. 2018-01-16 21:58:38 +00:00
netinet6 net*: make some use of mallocarray(9). 2018-01-15 21:21:51 +00:00
netipsec
netpfil Implement 'domainset', a cpuset based NUMA policy mechanism. This allows 2018-01-12 22:48:23 +00:00
netsmb
nfs
nfsclient
nfsserver
nlm
ofed
opencrypto Split crp_buf into a union. 2018-01-16 19:41:18 +00:00
powerpc PPC64: implement missing busdma ops 2018-01-17 09:45:18 +00:00
riscv Implement NUMA support in uma(9) and malloc(9). Allocations from specific 2018-01-12 23:25:05 +00:00
rpc
security
sparc64 Implement NUMA support in uma(9) and malloc(9). Allocations from specific 2018-01-12 23:25:05 +00:00
sys random(4): Add CCP random source definitions 2018-01-16 02:56:27 +00:00
teken
tests
tools
ufs ufs: use mallocarray(9). 2018-01-17 18:18:33 +00:00
vm Move VM_NUMA_ALLOC and DEVICE_NUMA under the single global config option NUMA. 2018-01-14 03:36:03 +00:00
x86 PTI for amd64. 2018-01-17 11:44:21 +00:00
xdr
xen
Makefile