aboutsummaryrefslogtreecommitdiffstats
path: root/tools/lib/bpf/libbpf.c
diff options
context:
space:
mode:
authorMatteo Croce <[email protected]>2024-10-10 03:56:52 +0000
committerAlexei Starovoitov <[email protected]>2024-10-10 15:52:36 +0000
commit5bd48a3a14df4b3ee1be0757efcc0f40d4f57b35 (patch)
tree65e2ea6fdecffdfec494ec9b8ee4cd985d136d42 /tools/lib/bpf/libbpf.c
parentlibbpf: fix sym_is_subprog() logic for weak global subprogs (diff)
downloadkernel-5bd48a3a14df4b3ee1be0757efcc0f40d4f57b35.tar.gz
kernel-5bd48a3a14df4b3ee1be0757efcc0f40d4f57b35.zip
bpf: fix argument type in bpf_loop documentation
The `index` argument to bpf_loop() is threaded as an u64. This lead in a subtle verifier denial where clang cloned the argument in another register[1]. [1] https://github.com/systemd/systemd/pull/34650#issuecomment-2401092895 Signed-off-by: Matteo Croce <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/lib/bpf/libbpf.c')
0 files changed, 0 insertions, 0 deletions