Re: [PATCH v6 1/2] bpftool: Align output skeleton ELF code

From: patchwork-bot+netdevbpf
Date: Mon Oct 09 2023 - 12:50:47 EST


Hello:

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

On Fri, 6 Oct 2023 21:44:38 -0700 you wrote:
> libbpf accesses the ELF data requiring at least 8 byte alignment,
> however, the data is generated into a C string that doesn't guarantee
> alignment. Fix this by assigning to an aligned char array. Use sizeof
> on the array, less one for the \0 terminator, rather than generating a
> constant.
>
> Fixes: a6cc6b34b93e ("bpftool: Provide a helper method for accessing skeleton's embedded ELF data")
> Signed-off-by: Ian Rogers <irogers@xxxxxxxxxx>
> Acked-by: Quentin Monnet <quentin@xxxxxxxxxxxxx>
> Reviewed-by: Alan Maguire <alan.maguire@xxxxxxxxxx>
>
> [...]

Here is the summary with links:
- [v6,1/2] bpftool: Align output skeleton ELF code
https://git.kernel.org/bpf/bpf-next/c/23671f4dfd10
- [v6,2/2] bpftool: Align bpf_load_and_run_opts insns and data
https://git.kernel.org/bpf/bpf-next/c/1be84ca53ca0

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