Files
linux/kernel/bpf
Andrii Nakryiko 535ead44ff bpf: factor out fetching bpf_map from FD and adding it to used_maps list
Factor out the logic to extract bpf_map instances from FD embedded in
bpf_insns, adding it to the list of used_maps (unless it's already
there, in which case we just reuse map's index). This simplifies the
logic in resolve_pseudo_ldimm64(), especially around `struct fd`
handling, as all that is now neatly contained in the helper and doesn't
leak into a dozen error handling paths.

Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
2024-08-13 15:58:14 -07:00
..
2024-06-18 17:19:46 +02:00
2023-12-06 17:17:20 -08:00
2022-05-10 11:20:45 -07:00
2024-07-10 12:14:54 -07:00
2023-10-23 15:01:53 -07:00