lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:   Mon, 09 Oct 2023 16:50:30 +0000
From:   patchwork-bot+netdevbpf@...nel.org
To:     Ian Rogers <irogers@...gle.com>
Cc:     quentin@...valent.com, ast@...nel.org, daniel@...earbox.net,
        andrii@...nel.org, martin.lau@...ux.dev, song@...nel.org,
        yonghong.song@...ux.dev, john.fastabend@...il.com,
        kpsingh@...nel.org, sdf@...gle.com, haoluo@...gle.com,
        jolsa@...nel.org, alastorze@...com, bpf@...r.kernel.org,
        linux-kernel@...r.kernel.org, alan.maguire@...cle.com
Subject: Re: [PATCH v6 1/2] bpftool: Align output skeleton ELF code

Hello:

This series was applied to bpf/bpf-next.git (master)
by Andrii Nakryiko <andrii@...nel.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@...gle.com>
> Acked-by: Quentin Monnet <quentin@...valent.com>
> Reviewed-by: Alan Maguire <alan.maguire@...cle.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


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ