Jakub Kicinski
531b014e7a
tools: bpf: make use of reallocarray
...
reallocarray() is a safer variant of realloc which checks for
multiplication overflow in case of array allocation. Since it's
not available in Glibc < 2.26 import kernel's overflow.h and
add a static inline implementation when needed. Use feature
detection to probe for existence of reallocarray.
Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Reviewed-by: Quentin Monnet <quentin.monnet@netronome.com>
Reviewed-by: Jiong Wang <jiong.wang@netronome.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
2018-07-11 22:13:34 +02:00
..
accounting
arch
tools/headers: Pick up latest kernel ABIs
2018-06-26 08:43:14 +02:00
bpf
tools: bpf: make use of reallocarray
2018-07-11 22:13:34 +02:00
build
tools: bpf: make use of reallocarray
2018-07-11 22:13:34 +02:00
cgroup
firewire
gpio
Linux 4.16-rc5
2018-03-18 17:48:59 +01:00
hv
tools: hv: include string.h in hv_fcopy_daemon
2018-03-06 09:57:16 -08:00
iio
tools: iio: iio_generic_buffer: allow continuous looping
2018-05-20 14:55:58 +01:00
include
tools: bpf: make use of reallocarray
2018-07-11 22:13:34 +02:00
kvm /kvm_stat
tools/kvm_stat: Remove unused function
2018-03-28 22:47:06 +02:00
laptop
leds
lib
tools: bpf: make use of reallocarray
2018-07-11 22:13:34 +02:00
memory-model
tools/memory-model: Add reference for 'Simplifying ARM concurrency'
2018-05-15 08:11:19 +02:00
nfsd
objtool
objtool: Add machine_real_restart() to the noreturn list
2018-06-20 02:10:37 +02:00
pci
pcmcia
perf
perf/urgent fixes:
2018-06-26 08:37:57 +02:00
power
Merge branch 'turbostat' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux
2018-06-21 00:37:04 +02:00
scripts
Kbuild: fix # escaping in .cmd files for future Make
2018-04-11 00:03:02 +09:00
spi
testing
selftests/bpf: add Error: prefix in check_extack helper
2018-07-11 22:13:33 +02:00
thermal /tmon
tools/thermal: tmon: fix for segfault
2018-03-27 09:51:23 +02:00
time
usb
usbip: usbip_detach: fix to check for invalid ports
2018-05-31 12:44:39 +02:00
virtio
sg: remove ->sg_magic member
2018-06-29 08:48:06 -06:00
vm
mm: mark pages in use for page tables
2018-06-07 17:34:37 -07:00
wmi
Makefile