diff options
author | Eduard Zingerman <eddyz87@gmail.com> | 2025-09-18 19:18:36 -0700 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2025-09-19 09:27:22 -0700 |
commit | 12a23f93a50dad7f820ca4326c7e289e7e13fb9f (patch) | |
tree | 7f1476cbe41a1a850517cb89c28ec6c21485d28b /kernel/fail_function.c | |
parent | 6cd21eb9adc924237a6f398a7f6c9f3da251df71 (diff) |
bpf: remove redundant REG_LIVE_READ check in stacksafe()
stacksafe() is called in exact == NOT_EXACT mode only for states that
had been porcessed by clean_verifier_states(). The latter replaces
dead stack spills with a series of STACK_INVALID masks. Such masks are
already handled by stacksafe().
Signed-off-by: Eduard Zingerman <eddyz87@gmail.com>
Link: https://lore.kernel.org/r/20250918-callchain-sensitive-liveness-v3-3-c3cd27bacc60@gmail.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'kernel/fail_function.c')
0 files changed, 0 insertions, 0 deletions