Files
linux/kernel/bpf
Daniel Borkmann 2a159c6f82 bpf, verifier: fix register type dump in xadd and st
Using reg_type_str[insn->dst_reg] is incorrect since insn->dst_reg
contains the register number but not the actual register type. Add
a small reg_state() helper and use it to get to the type. Also fix
up the test_verifier test cases that have an incorrect errstr.

Fixes: 9d2be44a7f ("bpf: Reuse canonical string formatter for ctx errs")
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
2018-10-20 23:13:32 -07:00
..
2018-10-09 21:42:51 -07:00
2018-10-19 13:24:31 -07:00
2018-10-19 13:24:31 -07:00
2018-10-19 13:24:31 -07:00
2017-11-15 19:46:32 +09:00
2018-10-19 13:52:38 -07:00