]> asedeno.scripts.mit.edu Git - linux.git/commit
bpf: Add iterator for spilled registers
authorJoe Stringer <joe@wand.net.nz>
Tue, 2 Oct 2018 20:35:29 +0000 (13:35 -0700)
committerDaniel Borkmann <daniel@iogearbox.net>
Wed, 3 Oct 2018 00:53:46 +0000 (02:53 +0200)
commitf3709f69b7c5cba6323cc03c29b64293b93be817
tree8124923e2b87e05659f6d1e9825c704a95e4294e
parent940656fb3f94b90b92a3fc5994614870b14866b9
bpf: Add iterator for spilled registers

Add this iterator for spilled registers, it concentrates the details of
how to get the current frame's spilled registers into a single macro
while clarifying the intention of the code which is calling the macro.

Signed-off-by: Joe Stringer <joe@wand.net.nz>
Acked-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
include/linux/bpf_verifier.h
kernel/bpf/verifier.c