linux-kselftest.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: patchwork-bot+netdevbpf@kernel.org
To: =?utf-8?q?Thi=C3=A9baud_Weksteen_=3Ctweek=40google=2Ecom=3E?=@aws-us-west-2-korg-oddjob-rhel9-1.codeaurora.org
Cc: andrii@kernel.org, eddyz87@gmail.com, ast@kernel.org,
	daniel@iogearbox.net, memxor@gmail.com, shuah@kernel.org,
	bpf@vger.kernel.org, linux-kselftest@vger.kernel.org,
	martin.lau@linux.dev, song@kernel.org, yonghong.song@linux.dev,
	jolsa@kernel.org, emil@etsalapatis.com, ihor.solodrai@linux.dev,
	sidnayyar@google.com
Subject: Re: [PATCH bpf 0/2] libbpf: Skip BPF token preparation for gen_loader
Date: Wed, 25 Nov 2026 21:00:04 +0000	[thread overview]
Message-ID: <179564040476.1330987.5241146907149197485.git-patchwork-notify@kernel.org> (raw)
In-Reply-To: <20261123045730.1960346-1-tweek@google.com>

Hello:

This series was applied to bpf/bpf-next.git (master)
by Andrii Nakryiko <andrii@kernel.org>:

On Mon, 23 Nov 2026 15:57:28 +1100 you wrote:
> When generating a loader program offline (obj->gen_loader), libbpf emits
> loader instructions rather than issuing BPF syscalls on the host. While
> other host-interaction steps in bpf_object_prepare() already skip
> execution under obj->gen_loader, bpf_object_prepare_token() does not.
> 
> This causes offline loader generation (such as bpftool gen skeleton -L)
> to probe /sys/fs/bpf and honor LIBBPF_BPF_TOKEN_PATH. If the build host
> has a token-delegated bpffs mounted, libbpf acquires a token FD and ORs
> BPF_F_TOKEN_FD into map_flags and prog_flags without gen_loader
> serializing any token_fd, producing a broken loader blob.
> 
> [...]

Here is the summary with links:
  - [bpf,1/2] libbpf: Skip BPF token preparation when generating loader
    https://git.kernel.org/bpf/bpf-next/c/d92defe04ad5
  - [bpf,2/2] selftests/bpf: Verify gen_loader skips BPF token preparation
    (no matching commit)

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



      parent reply	other threads:[~2026-11-25 21:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-23  4:57 [PATCH bpf 0/2] libbpf: Skip BPF token preparation for gen_loader Thiébaud Weksteen
2026-11-23  4:57 ` [PATCH bpf 1/2] libbpf: Skip BPF token preparation when generating loader Thiébaud Weksteen
2026-11-23  4:57 ` [PATCH bpf 2/2] selftests/bpf: Verify gen_loader skips BPF token preparation Thiébaud Weksteen
2026-11-25 21:00 ` patchwork-bot+netdevbpf [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=179564040476.1330987.5241146907149197485.git-patchwork-notify@kernel.org \
    --to=patchwork-bot+netdevbpf@kernel.org \
    --cc==?utf-8?q?Thi=C3=A9baud_Weksteen_=3Ctweek=40google=2Ecom=3E?=@aws-us-west-2-korg-oddjob-rhel9-1.codeaurora.org \
    --cc=andrii@kernel.org \
    --cc=ast@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=jolsa@kernel.org \
    --cc=linux-kselftest@vger.kernel.org \
    --cc=martin.lau@linux.dev \
    --cc=memxor@gmail.com \
    --cc=shuah@kernel.org \
    --cc=sidnayyar@google.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;
as well as URLs for NNTP newsgroup(s).