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
..
arraymap.c
bpf: return EOPNOTSUPP when map lookup isn't supported
2018-10-09 21:52:20 -07:00
bpf_lru_list.c
bpf_lru_list.h
btf.c
bpf: btf: Fix a missing check bug
2018-10-09 21:42:51 -07:00
cgroup.c
bpf: add cg_skb_is_valid_access for BPF_PROG_TYPE_CGROUP_SKB
2018-10-19 13:49:34 -07:00
core.c
bpf: add queue and stack maps
2018-10-19 13:24:31 -07:00
cpumap.c
bpf: fix redirect to map under tail calls
2018-08-17 15:56:23 -07:00
devmap.c
bpf: fix redirect to map under tail calls
2018-08-17 15:56:23 -07:00
disasm.c
disasm.h
hashtab.c
bpf: add bpffs pretty print for percpu arraymap/hash/lru_hash
2018-08-30 14:03:53 +02:00
helpers.c
bpf: add queue and stack maps
2018-10-19 13:24:31 -07:00
inode.c
bpf: decouple btf from seq bpf fs dump and enable more maps
2018-08-13 00:52:45 +02:00
local_storage.c
Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next
2018-10-08 23:42:44 -07:00
lpm_trie.c
bpf: decouple btf from seq bpf fs dump and enable more maps
2018-08-13 00:52:45 +02:00
Makefile
bpf: add queue and stack maps
2018-10-19 13:24:31 -07:00
map_in_map.c
bpf: don't allow create maps of per-cpu cgroup local storages
2018-10-01 16:18:33 +02:00
map_in_map.h
offload.c
bpf: add verifier callback to get stack usage info for offloaded progs
2018-10-08 10:24:12 +02:00
percpu_freelist.c
percpu_freelist.h
queue_stack_maps.c
bpf: add queue and stack maps
2018-10-19 13:24:31 -07:00
reuseport_array.c
bpf: Introduce BPF_MAP_TYPE_REUSEPORT_SOCKARRAY
2018-08-11 01:58:46 +02:00
stackmap.c
bpf: rename stack trace map operations
2018-10-19 13:24:30 -07:00
syscall.c
bpf: remove unused variable
2018-10-19 13:52:38 -07:00
tnum.c
verifier.c
bpf, verifier: fix register type dump in xadd and st
2018-10-20 23:13:32 -07:00
xskmap.c
bpf: return EOPNOTSUPP when map lookup isn't supported
2018-10-09 21:52:20 -07:00