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  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:   Thu, 08 Oct 2020 02:10:03 +0000
To:     Andrii Nakryiko <>
Subject: Re: [PATCH v3 bpf-next 0/4] libbpf: auto-resize relocatable LOAD/STORE


This series was applied to bpf/bpf-next.git (refs/heads/master):

On Wed, 7 Oct 2020 17:10:20 -0700 you wrote:
> Patch set implements logic in libbpf to auto-adjust memory size (1-, 2-, 4-,
> 8-bytes) of load/store (LD/ST/STX) instructions which have BPF CO-RE field
> offset relocation associated with it. In practice this means transparent
> handling of 32-bit kernels, both pointer and unsigned integers. Signed
> integers are not relocatable with zero-extending loads/stores, so libbpf
> poisons them and generates a warning. If/when BPF gets support for
> sign-extending loads/stores, it would be possible to automatically relocate
> them as well.
> [...]

Here is the summary with links:
  - [v3,bpf-next,1/4] libbpf: skip CO-RE relocations for not loaded BPF programs
  - [v3,bpf-next,2/4] libbpf: support safe subset of load/store instruction resizing with CO-RE
  - [v3,bpf-next,3/4] libbpf: allow specifying both ELF and raw BTF for CO-RE BTF override
  - [v3,bpf-next,4/4] selftests/bpf: validate libbpf's auto-sizing of LD/ST/STX instructions

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

Powered by blists - more mailing lists