Daniel Borkmann
144cd91c4c
bpf: move tmp variable into ax register in interpreter
...
This change moves the on-stack 64 bit tmp variable in ___bpf_prog_run()
into the hidden ax register. The latter is currently only used in JITs
for constant blinding as a temporary scratch register, meaning the BPF
interpreter will never see the use of ax. Therefore it is safe to use
it for the cases where tmp has been used earlier. This is needed to later
on allow restricted hidden use of ax in both interpreter and JITs.
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
2019-01-02 16:01:24 -08:00
..
arraymap.c
bpf: pass struct btf pointer to the map_check_btf() callback
2018-12-12 15:33:33 -08:00
bpf_lru_list.c
bpf_lru_list.h
btf.c
bpf: log struct/union attribute for forward type
2018-12-19 00:47:56 +01: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: move tmp variable into ax register in interpreter
2019-01-02 16:01:24 -08:00
cpumap.c
bpf/cpumap: make sure frame_size for build_skb is aligned if headroom isn't
2018-12-20 23:19:12 +01:00
devmap.c
bpf: devmap: fix wrong interface selection in notifier_call
2018-10-26 00:32:21 +02:00
disasm.c
disasm.h
hashtab.c
bpf: allow zero-initializing hash map seed
2018-11-20 00:53:39 +01:00
helpers.c
bpf: fix direct packet write into pop/peek helpers
2018-10-25 17:02:06 -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
bpf: enable cgroup local storage map pretty print with kind_flag
2018-12-18 01:11:59 +01:00
lpm_trie.c
bpf: pass struct btf pointer to the map_check_btf() callback
2018-12-12 15:33:33 -08: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: fix null pointer dereference on pointer offload
2018-11-16 20:48:27 -08:00
percpu_freelist.c
percpu_freelist.h
queue_stack_maps.c
bpf: fix integer overflow in queue_stack_map
2018-11-22 21:29:40 +01:00
reuseport_array.c
stackmap.c
bpf: rename stack trace map operations
2018-10-19 13:24:30 -07:00
syscall.c
bpf: support raw tracepoints in modules
2018-12-18 14:08:12 -08:00
tnum.c
verifier.c
bpf: move {prev_,}insn_idx into verifier env
2019-01-02 16:01:24 -08:00
xskmap.c
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
2018-10-19 11:03:06 -07:00