Re: [PATCH v7 bpf-next 00/10] Harden and extend ELF build ID parsing logic

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello:

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

On Thu, 29 Aug 2024 10:42:22 -0700 you wrote:
> The goal of this patch set is to extend existing ELF build ID parsing logic,
> currently mostly used by BPF subsystem, with support for working in sleepable
> mode in which memory faults are allowed and can be relied upon to fetch
> relevant parts of ELF file to find and fetch .note.gnu.build-id information.
> 
> This is useful and important for BPF subsystem itself, but also for
> PROCMAP_QUERY ioctl(), built atop of /proc/<pid>/maps functionality (see [0]),
> which makes use of the same build_id_parse() functionality. PROCMAP_QUERY is
> always called from sleepable user process context, so it doesn't have to
> suffer from current restrictions of build_id_parse() which are due to the NMI
> context assumption.
> 
> [...]

Here is the summary with links:
  - [v7,bpf-next,01/10] lib/buildid: harden build ID parsing logic
    https://git.kernel.org/bpf/bpf-next/c/905415ff3ffb
  - [v7,bpf-next,02/10] lib/buildid: add single folio-based file reader abstraction
    https://git.kernel.org/bpf/bpf-next/c/de3ec364c3c3
  - [v7,bpf-next,03/10] lib/buildid: take into account e_phoff when fetching program headers
    https://git.kernel.org/bpf/bpf-next/c/d4deb8242341
  - [v7,bpf-next,04/10] lib/buildid: remove single-page limit for PHDR search
    https://git.kernel.org/bpf/bpf-next/c/4e9d360c4cdf
  - [v7,bpf-next,05/10] lib/buildid: rename build_id_parse() into build_id_parse_nofault()
    https://git.kernel.org/bpf/bpf-next/c/45b8fc309654
  - [v7,bpf-next,06/10] lib/buildid: implement sleepable build_id_parse() API
    https://git.kernel.org/bpf/bpf-next/c/ad41251c290d
  - [v7,bpf-next,07/10] lib/buildid: don't limit .note.gnu.build-id to the first page in ELF
    https://git.kernel.org/bpf/bpf-next/c/cdbb44f9a74f
  - [v7,bpf-next,08/10] bpf: decouple stack_map_get_build_id_offset() from perf_callchain_entry
    https://git.kernel.org/bpf/bpf-next/c/4f4c4fc0153f
  - [v7,bpf-next,09/10] bpf: wire up sleepable bpf_get_stack() and bpf_get_task_stack() helpers
    https://git.kernel.org/bpf/bpf-next/c/d4dd9775ec24
  - [v7,bpf-next,10/10] selftests/bpf: add build ID tests
    https://git.kernel.org/bpf/bpf-next/c/3c217a182018

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






[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [NTFS 3]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [NTFS 3]     [Samba]     [Device Mapper]     [CEPH Development]

  Powered by Linux