summaryrefslogtreecommitdiff
path: root/lib/debugobjects.c
diff options
context:
space:
mode:
authorEmil Tsalapatis <emil@etsalapatis.com>2026-02-28 21:47:55 +0300
committerAlexei Starovoitov <ast@kernel.org>2026-03-03 19:47:22 +0300
commit83419c8fdbbc1dacd12fa614c5a3561e498aac5f (patch)
treecc83818dd0dba510d64db8ab9eae009b14cc4a01 /lib/debugobjects.c
parent7242b0951d2cab0f5908ec768ebd3f3ca4f0884c (diff)
downloadlinux-83419c8fdbbc1dacd12fa614c5a3561e498aac5f.tar.xz
bpf: Factor out program return value calculation
Factor the return value range calculation logic in check_return_code out of the function in preparation for separating the return value validation logic for BPF_EXIT and bpf_throw(). No functional changes. The change made in return_retval_code's handling of PROG_TRACING program types (not error'ing on the default case) is a no-op because the match on the program attach type is exhaustive. Acked-by: Eduard Zingerman <eddyz87@gmail.com> Signed-off-by: Emil Tsalapatis <emil@etsalapatis.com> Link: https://lore.kernel.org/r/20260228184759.108145-2-emil@etsalapatis.com Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions