]> Gentwo Git Trees - linux/.git/commit
bpf: don't skip other information if xlated_prog_insns is skipped
authorAltgelt, Max (Nextron) <max.altgelt@nextron-systems.com>
Tue, 4 Nov 2025 14:26:56 +0000 (14:26 +0000)
committerAlexei Starovoitov <ast@kernel.org>
Sat, 15 Nov 2025 02:55:06 +0000 (18:55 -0800)
commit4722981cca373a338bbcf3a93ecf7144a892b03b
treefddf94f765238ebbd94246ffaf41cce9d58c853c
parent6cc73f35406cae1f053e984e8de40e6dc9681446
bpf: don't skip other information if xlated_prog_insns is skipped

If xlated_prog_insns should not be exposed, other information
(such as func_info) still can and should be filled in.
Therefore, instead of directly terminating in this case,
continue with the normal flow.

Signed-off-by: Max Altgelt <max.altgelt@nextron-systems.com>
Link: https://lore.kernel.org/r/efd00fcec5e3e247af551632726e2a90c105fbd8.camel@nextron-systems.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
kernel/bpf/syscall.c