Re: [PATCH bpf-next] libbpf: skip modules BTF loading when CAP_SYS_ADMIN is missing

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

 



Hello:

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

On Mon, 26 Jun 2023 11:36:14 +0200 you wrote:
> If during CO-RE relocations libbpf is not able to find the target type
> in the running kernel BTF, it searches for it in modules' BTF.
> The downside of this approach is that loading modules' BTF requires
> CAP_SYS_ADMIN and this prevents BPF applications from running with more
> granular capabilities (e.g. CAP_BPF) when they don't need to search
> types into modules' BTF.
> 
> [...]

Here is the summary with links:
  - [bpf-next] libbpf: skip modules BTF loading when CAP_SYS_ADMIN is missing
    https://git.kernel.org/bpf/bpf-next/c/2d2c95162de8

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






[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux