From: "Toke Høiland-Jørgensen" <toke@toke.dk>
To: bot+bpf-ci@kernel.org, ast@kernel.org, daniel@iogearbox.net,
andrii@kernel.org, eddyz87@gmail.com, memxor@gmail.com,
martin.lau@linux.dev, song@kernel.org, yonghong.song@linux.dev,
jolsa@kernel.org, emil@etsalapatis.com, ihor.solodrai@linux.dev,
john.fastabend@gmail.com
Cc: bpf@vger.kernel.org, ast@kernel.org, andrii@kernel.org,
daniel@iogearbox.net, martin.lau@kernel.org, eddyz87@gmail.com,
yonghong.song@linux.dev, mason@kernel.org,
ihor.solodrai@linux.dev
Subject: Re: [PATCH bpf-next v3 4/7] libbpf: Move bpf_object_prepare_token() to object creation
Date: Thu, 26 Nov 2026 20:46:39 +0100 [thread overview]
Message-ID: <87mrqvcr4w.fsf@toke.dk> (raw)
In-Reply-To: <468774737b63c8aa4d8cd6b2d7de16ac60d3c29add13446eb9960a8be1ef1ff8@mail.kernel.org>
bot+bpf-ci@kernel.org writes:
>> libbpf: Move bpf_object_prepare_token() to object creation
>
> TL;DR: Creating the token at open time likely breaks selftest
> token/obj_priv_freplace_prog_fail at this commit; the fix is in a later patch.
> Could it be folded in or moved earlier to keep the series bisectable?
It's not possible to move the selftest update before this commit (then
the selftest would just be broken by the commit that updates it, and
fixed by this one, instead of the reverse).
I am under the impression that the "keep selftest updates in a separate
commit" rule takes precedence over the "keep selftests working for every
commit rule", in which case keeping it like this is the right thing to
do.
Am I wrong to think so?
-Toke
next prev parent reply other threads:[~2026-11-26 19:46 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-26 14:51 [PATCH bpf-next v3 0/7] Improvements to access module BTF with bpf_token Toke Høiland-Jørgensen
2026-11-26 14:51 ` [PATCH bpf-next v3 1/7] bpf: Relax BPF_*_GET_NEXT_ID permission checks to CAP_BPF and bpf_token Toke Høiland-Jørgensen
2026-11-26 15:19 ` bot+bpf-ci
2026-11-26 14:51 ` [PATCH bpf-next v3 2/7] libbpf: Add bpf_*_get_next_id_opts() functions Toke Høiland-Jørgensen
2026-11-26 14:51 ` [PATCH bpf-next v3 3/7] libbpf: Automatically set BPF_F_TOKEN_FD when getting BTF fd Toke Høiland-Jørgensen
2026-11-26 14:51 ` [PATCH bpf-next v3 4/7] libbpf: Move bpf_object_prepare_token() to object creation Toke Høiland-Jørgensen
2026-11-26 15:11 ` sashiko-bot
2026-11-26 19:44 ` Toke Høiland-Jørgensen
2026-11-26 15:47 ` bot+bpf-ci
2026-11-26 19:46 ` Toke Høiland-Jørgensen [this message]
2026-11-26 14:51 ` [PATCH bpf-next v3 5/7] libbpf: Pass in token_fd when iterating kernel BTF objects Toke Høiland-Jørgensen
2026-11-26 14:51 ` [PATCH bpf-next v3 6/7] selftests/bpf: Explicitly disable token in token/obj_priv_freplace_prog_fail test Toke Høiland-Jørgensen
2026-11-26 14:51 ` [PATCH bpf-next v3 7/7] selftests/bpf: Add test for attaching fentry to a module with bpf_token Toke Høiland-Jørgensen
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=87mrqvcr4w.fsf@toke.dk \
--to=toke@toke.dk \
--cc=andrii@kernel.org \
--cc=ast@kernel.org \
--cc=bot+bpf-ci@kernel.org \
--cc=bpf@vger.kernel.org \
--cc=daniel@iogearbox.net \
--cc=eddyz87@gmail.com \
--cc=emil@etsalapatis.com \
--cc=ihor.solodrai@linux.dev \
--cc=john.fastabend@gmail.com \
--cc=jolsa@kernel.org \
--cc=martin.lau@kernel.org \
--cc=martin.lau@linux.dev \
--cc=mason@kernel.org \
--cc=memxor@gmail.com \
--cc=song@kernel.org \
--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