aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/bpf/arraymap.c
diff options
context:
space:
mode:
authorEdward Cree <ecree@solarflare.com>2018-08-22 15:02:19 -0400
committerAlexei Starovoitov <ast@kernel.org>2018-08-29 21:52:12 -0400
commit679c782de14bd48c19dd74cd1af20a2bc05dd936 (patch)
tree6e5dc6750d497c1b081e3d347af3ca6e3c045cda /kernel/bpf/arraymap.c
parent29b5e0f34359f0e1c95aa644bdd92e459c1231ee (diff)
bpf/verifier: per-register parent pointers
By giving each register its own liveness chain, we elide the skip_callee() logic. Instead, each register's parent is the state it inherits from; both check_func_call() and prepare_func_exit() automatically connect reg states to the correct chain since when they copy the reg state across (r1-r5 into the callee as args, and r0 out as the return value) they also copy the parent pointer. Signed-off-by: Edward Cree <ecree@solarflare.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'kernel/bpf/arraymap.c')
0 files changed, 0 insertions, 0 deletions