linux/include
Xu Kuohai 07ae6c130b bpf: Add helper to detect indirect jump targets
Introduce helper bpf_insn_is_indirect_target to check whether a BPF
instruction is an indirect jump target.

Since the verifier knows which instructions are indirect jump targets,
add a new flag indirect_target to struct bpf_insn_aux_data to mark
them. The verifier sets this flag when verifying an indirect jump target
instruction, and the helper checks the flag to determine whether an
instruction is an indirect jump target.

Reviewed-by: Anton Protopopov <a.s.protopopov@gmail.com> #v8
Reviewed-by: Emil Tsalapatis <emil@etsalapatis.com> #v12
Signed-off-by: Xu Kuohai <xukuohai@huawei.com>
Link: https://lore.kernel.org/r/20260416064341.151802-4-xukuohai@huaweicloud.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
2026-04-16 07:03:40 -07:00
..
acpi Power management updates for 7.1-rc1 2026-04-13 19:47:52 -07:00
asm-generic Modules changes for v7.1-rc1 2026-04-14 17:16:38 -07:00
clocksource
crypto Crypto library updates for 7.1 2026-04-13 17:31:39 -07:00
cxl
drm
dt-bindings reset: spacemit: k3: Decouple composite reset lines 2026-03-23 12:25:47 +01:00
hyperv mshv: Fix infinite fault loop on permission-denied GPA intercepts 2026-04-04 05:25:53 +00:00
keys
kunit
kvm
linux bpf: Add helper to detect indirect jump targets 2026-04-16 07:03:40 -07:00
math-emu
media
memory
misc
net Networking changes for 7.1. 2026-04-14 18:36:10 -07:00
pcmcia
ras
rdma
rv
scsi
soc
sound ASoC: SDCA: Unregister IRQ handlers on module remove 2026-04-08 16:55:30 +01:00
target
trace Networking changes for 7.1. 2026-04-14 18:36:10 -07:00
uapi vfs-7.1-rc1.mount.v2 2026-04-14 19:59:25 -07:00
ufs
vdso vdso/datapage: Trim down unnecessary includes 2026-03-11 15:22:39 +01:00
video
xen
Kbuild