From 534a2c6f53a696fc1c852191cdfde70338841140 Mon Sep 17 00:00:00 2001 From: Andrii Nakryiko Date: Mon, 17 Oct 2022 11:00:09 -0700 Subject: [PATCH] sync: latest libbpf changes from kernel Syncing latest libbpf commits from kernel repository. Baseline bpf-next commit: 87dbdc230d162bf9ee1ac77c8ade178b6b1e199e Checkpoint bpf-next commit: 62c69e89e81bfbdb9a87ae3e0599dcc6aacf786b Baseline bpf commit: 60240bc26114543fcbfcd8a28466e67e77b20388 Checkpoint bpf commit: e7b09357453a99e6f9e74c39e9ca1363c22c0b96 Andrii Nakryiko (1): bpf: explicitly define BPF_FUNC_xxx integer values Eduard Zingerman (1): bpftool: Print newline before '}' for struct with padding only fields Kui-Feng Lee (2): bpf: Parameterize task iterators. bpf: Handle bpf_link_info for the parameterized task BPF iterators. Roberto Sassu (5): libbpf: Fix LIBBPF_1.0.0 declaration in libbpf.map libbpf: Introduce bpf_get_fd_by_id_opts and bpf_map_get_fd_by_id_opts() libbpf: Introduce bpf_prog_get_fd_by_id_opts() libbpf: Introduce bpf_btf_get_fd_by_id_opts() libbpf: Introduce bpf_link_get_fd_by_id_opts() Shung-Hsi Yu (3): libbpf: Use elf_getshdrnum() instead of e_shnum libbpf: Deal with section with no data gracefully libbpf: Fix null-pointer dereference in find_prog_by_sec_insn() Xin Liu (1): libbpf: Fix overrun in netlink attribute iteration Xu Kuohai (2): libbpf: Fix use-after-free in btf_dump_name_dups libbpf: Fix memory leak in parse_usdt_arg() include/uapi/linux/bpf.h | 442 ++++++++++++++++++++------------------- src/bpf.c | 48 ++++- src/bpf.h | 16 ++ src/btf_dump.c | 35 +++- src/libbpf.c | 22 +- src/libbpf.map | 6 +- src/nlattr.c | 2 +- src/usdt.c | 11 +- 8 files changed, 347 insertions(+), 235 deletions(-) -- 2.30.2 --- BPF-CHECKPOINT-COMMIT | 2 +- CHECKPOINT-COMMIT | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/BPF-CHECKPOINT-COMMIT b/BPF-CHECKPOINT-COMMIT index bc0f7fe..97e898f 100644 --- a/BPF-CHECKPOINT-COMMIT +++ b/BPF-CHECKPOINT-COMMIT @@ -1 +1 @@ -60240bc26114543fcbfcd8a28466e67e77b20388 +e7b09357453a99e6f9e74c39e9ca1363c22c0b96 diff --git a/CHECKPOINT-COMMIT b/CHECKPOINT-COMMIT index 15a3dc7..907df2f 100644 --- a/CHECKPOINT-COMMIT +++ b/CHECKPOINT-COMMIT @@ -1 +1 @@ -87dbdc230d162bf9ee1ac77c8ade178b6b1e199e +62c69e89e81bfbdb9a87ae3e0599dcc6aacf786b