linux_old1/tools/net
Colin Ian King 25a54342fd tools: bpf_jit_disasm: check for klogctl failure
klogctl can fail and return -ve len, so check for this and
return NULL to avoid passing a (size_t)-1 to malloc.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Acked-by: Daniel Borkmann <daniel@iogearbox.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-05-08 23:32:59 -04:00
..
Makefile tools/net: Use include/uapi with __EXPORTED_HEADERS__ 2015-11-15 17:24:33 -05:00
bpf_asm.c filter: bpf_asm: add minimal bpf asm tool 2013-12-11 20:28:35 -05:00
bpf_dbg.c bpf_dbg: do not initialise statics to 0 2016-02-11 04:24:45 -05:00
bpf_exp.l tools, bpf_asm: simplify parser rule for BPF extensions 2016-02-22 13:29:42 -05:00
bpf_exp.y tools, bpf_asm: simplify parser rule for BPF extensions 2016-02-22 13:29:42 -05:00
bpf_jit_disasm.c tools: bpf_jit_disasm: check for klogctl failure 2016-05-08 23:32:59 -04:00