Re: [PATCH bpf v3 0/2] bpf: allow UTF-8 literals in bpf_bprintf_prepare()

patchwork-bot+netdevbpf
2026-04-16T23:00:40Z

Hello:

This series was applied to bpf/bpf.git (master)
by Alexei Starovoitov <ast@kernel.org>:

On Thu, 16 Apr 2026 20:01:40 +0800 you wrote:
> bpf_bprintf_prepare() currently rejects any non-ASCII byte in format
> strings, so helpers such as bpf_trace_printk() fail to emit UTF-8
> literal text even when those bytes are not part of a format specifier.
>
> Keep plain text permissive while continuing to parse '%' sequences as
> ASCII-only. Patch 1 updates snprintf_negative() at the same time so the
> selftests stay consistent during bisection. Patch 2 then extends
> trace_printk coverage for both the valid UTF-8 literal case and the
> invalid non-ASCII-after-'%' case.
>
> [...]

Here is the summary with links:
- [bpf,v3,1/2] bpf: allow UTF-8 literals in bpf_bprintf_prepare()
https://git.kernel.org/bpf/bpf/c/b960430ea886
- [bpf,v3,2/2] selftests/bpf: cover UTF-8 trace_printk output
https://git.kernel.org/bpf/bpf/c/4198ff31edb1

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.