]> git.baikalelectronics.ru Git - kernel.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)
commit79d46e88de8eae461fc42634fae3f0084c590a31
tree8124923e2b87e05659f6d1e9825c704a95e4294e
parent9bcf0d4fb5e0256f04281fc2ddb50695d07b6177
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