Re: [PATCH bpf-next v1] bpf: guard BTF_ID_FLAGS(bpf_cgroup_read_xattr) with CONFIG_BPF_LSM

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

 



Hello:

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

On Fri, 27 Jun 2025 10:53:09 -0700 you wrote:
> Function bpf_cgroup_read_xattr is defined in fs/bpf_fs_kfuncs.c,
> which is compiled only when CONFIG_BPF_LSM is set. Add CONFIG_BPF_LSM
> check to bpf_cgroup_read_xattr spec in common_btf_ids in
> kernel/bpf/helpers.c to avoid build failures for configs w/o
> CONFIG_BPF_LSM.
> 
> Build failure example:
> 
> [...]

Here is the summary with links:
  - [bpf-next,v1] bpf: guard BTF_ID_FLAGS(bpf_cgroup_read_xattr) with CONFIG_BPF_LSM
    https://git.kernel.org/bpf/bpf-next/c/a5a7b25d7535

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