aboutsummaryrefslogtreecommitdiffstats
path: root/samples/bpf/syscall_tp_user.c
diff options
context:
space:
mode:
authorYuntao Wang <ytcoode@gmail.com>2022-04-04 08:53:20 +0800
committerAndrii Nakryiko <andrii@kernel.org>2022-04-03 19:56:01 -0700
commite93f39998d8f8ed456dfbb4ca68f9a159906cc6f (patch)
tree2d6f3af729a40046500f17db7d3a589331d241aa /samples/bpf/syscall_tp_user.c
parentMerge branch 'libbpf: name-based u[ret]probe attach' (diff)
downloadlinux-dev-e93f39998d8f8ed456dfbb4ca68f9a159906cc6f.tar.xz
linux-dev-e93f39998d8f8ed456dfbb4ca68f9a159906cc6f.zip
libbpf: Don't return -EINVAL if hdr_len < offsetofend(core_relo_len)
Since core relos is an optional part of the .BTF.ext ELF section, we should skip parsing it instead of returning -EINVAL if header size is less than offsetofend(struct btf_ext_header, core_relo_len). Signed-off-by: Yuntao Wang <ytcoode@gmail.com> Signed-off-by: Andrii Nakryiko <andrii@kernel.org> Link: https://lore.kernel.org/bpf/20220404005320.1723055-1-ytcoode@gmail.com
Diffstat (limited to 'samples/bpf/syscall_tp_user.c')
0 files changed, 0 insertions, 0 deletions