From: Eduard Zingerman <eddyz87@gmail.com>
To: Andrii Nakryiko <andrii.nakryiko@gmail.com>, ast@kernel.org
Cc: bpf@vger.kernel.org, andrii@kernel.org, daniel@iogearbox.net,
martin.lau@linux.dev, kernel-team@fb.com,
yonghong.song@linux.dev, Liu RuiTong <cnitlrt@gmail.com>
Subject: Re: [PATCH bpf-next] bpf: bpf_core_calc_relo_insn() should verify relocation type id
Date: Wed, 21 Aug 2024 15:38:16 -0700 [thread overview]
Message-ID: <d3d8f8e7c357404143f6fae6f4ac077c404821d2.camel@gmail.com> (raw)
In-Reply-To: <b377eda1c4cd9d6c4ad1c3d6cbed9cb1e14242f9.camel@gmail.com>
On Wed, 2024-08-21 at 15:32 -0700, Eduard Zingerman wrote:
[...]
> Just spent more than an hour trying to figure out why passing real
> program name (char *) does not work.
> I'll think on a refactoring, but that is for another series.
I passed env->prog->aux->name there, and pr_warn caused corruption
of the aux structure. Sigh.
prev parent reply other threads:[~2024-08-21 22:38 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-21 16:46 [PATCH bpf-next] bpf: bpf_core_calc_relo_insn() should verify relocation type id Eduard Zingerman
2024-08-21 16:59 ` Andrii Nakryiko
2024-08-21 17:46 ` Eduard Zingerman
2024-08-21 19:10 ` Andrii Nakryiko
2024-08-21 19:28 ` Eduard Zingerman
2024-08-21 20:08 ` Andrii Nakryiko
2024-08-21 22:32 ` Eduard Zingerman
2024-08-21 22:38 ` Eduard Zingerman [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=d3d8f8e7c357404143f6fae6f4ac077c404821d2.camel@gmail.com \
--to=eddyz87@gmail.com \
--cc=andrii.nakryiko@gmail.com \
--cc=andrii@kernel.org \
--cc=ast@kernel.org \
--cc=bpf@vger.kernel.org \
--cc=cnitlrt@gmail.com \
--cc=daniel@iogearbox.net \
--cc=kernel-team@fb.com \
--cc=martin.lau@linux.dev \
--cc=yonghong.song@linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox