Messages in this thread | | | Subject | Re: [PATCH v6 1/2] bpftool: Align output skeleton ELF code | From | patchwork-bot+netdevbpf@kernel ... | Date | Mon, 09 Oct 2023 16:50:30 +0000 |
| |
Hello:
This series was applied to bpf/bpf-next.git (master) by Andrii Nakryiko <andrii@kernel.org>:
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@google.com> > Acked-by: Quentin Monnet <quentin@isovalent.com> > Reviewed-by: Alan Maguire <alan.maguire@oracle.com> > > [...]
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
| |