diff options
author | Edward Cree <ecree@solarflare.com> | 2017-09-15 14:37:38 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-10-12 11:51:20 +0200 |
commit | e159492b3c3edeffb9cbfb449efb5e7adfb719f7 (patch) | |
tree | a4e02585b3e887ec1362b09ee08a1f6431490c1c /lib/fault-inject.c | |
parent | 186a9c5e7038d7e6b39d2f6c96f71056b1bacd8d (diff) |
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: 17a5267067f3 ("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>
Diffstat (limited to 'lib/fault-inject.c')
0 files changed, 0 insertions, 0 deletions