android_kernel_sony_sdm845/kernel/bpf
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Edward Cree e159492b3c bpf/verifier: reject BPF_ALU64|BPF_END
[ Upstream commit e67b8a685c7c984e834e3181ef4619cd7025a136 ]

Neither ___bpf_prog_run nor the JITs accept it.
Also adds a new test case.

Fixes: 17a5267067 ("bpf: verifier (add verifier core)")
Signed-off-by: Edward Cree <ecree@solarflare.com>
Acked-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Daniel Borkmann <daniel@iogearbox.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-10-12 11:51:20 +02:00
..
arraymap.c bpf: don't trigger OOM killer under pressure with map alloc 2017-07-05 14:40:21 +02:00
core.c bpf: clean up put_cpu_var usage 2016-09-27 22:09:17 -04:00
hashtab.c bpf: don't trigger OOM killer under pressure with map alloc 2017-07-05 14:40:21 +02:00
helpers.c bpf: direct packet write and access for helpers for clsact progs 2016-09-20 23:32:11 -04:00
inode.c fs: Replace CURRENT_TIME with current_time() for inode timestamps 2016-09-27 21:06:21 -04:00
Makefile bpf: introduce percpu_freelist 2016-03-08 15:28:31 -05:00
percpu_freelist.c bpf: introduce percpu_freelist 2016-03-08 15:28:31 -05:00
percpu_freelist.h bpf: introduce percpu_freelist 2016-03-08 15:28:31 -05:00
stackmap.c bpf: don't trigger OOM killer under pressure with map alloc 2017-07-05 14:40:21 +02:00
syscall.c bpf: don't trigger OOM killer under pressure with map alloc 2017-07-05 14:40:21 +02:00
verifier.c bpf/verifier: reject BPF_ALU64|BPF_END 2017-10-12 11:51:20 +02:00