[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <17ef2c79-b5e8-43f0-886f-641ce45f18ee@www.fastmail.com>
Date: Sat, 10 Sep 2022 12:02:41 +0100
From: "Lorenz Bauer" <oss@....io>
To: "Martin KaFai Lau" <martin.lau@...ux.dev>
Cc: bpf@...r.kernel.org, linux-kernel@...r.kernel.org,
"Alexei Starovoitov" <ast@...nel.org>,
"Daniel Borkmann" <daniel@...earbox.net>,
"Andrii Nakryiko" <andrii@...nel.org>,
"Song Liu" <song@...nel.org>, "Yonghong Song" <yhs@...com>,
"John Fastabend" <john.fastabend@...il.com>,
"KP Singh" <kpsingh@...nel.org>,
"Stanislav Fomichev" <sdf@...gle.com>,
"Hao Luo" <haoluo@...gle.com>, "Jiri Olsa" <jolsa@...nel.org>
Subject: Re: [PATCH bpf] bpf: btf: fix truncated last_member_type_id in
btf_struct_resolve
On Fri, 9 Sep 2022, at 19:17, Martin KaFai Lau wrote:
>
> The fix tag should be
>
> Fixes: a0791f0df7d2 ("bpf: fix BTF limits")
Ah, thanks very much! Sent a v2.
> The change makes sense.
>
> The kernel's vmlinux and module btf parsing doesn't go through this
> resolve check though. Are you trying to __sys_bpf(BPF_BTF_LOAD) the btf
> from the vmlinux file into the kernel ?
Yes, with the twist that the BTF was serialised by github.com/cilium/ebpf instead of libbpf.
Powered by blists - more mailing lists