Re: [PATCH] selftests/bpf: fix a compile error for BPF_F_BPRM_SECUREEXEC

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

 



Hello:

This patch was applied to bpf/bpf.git (refs/heads/master):

On Thu, 24 Dec 2020 01:12:42 +0000 you wrote:
> When CONFIG_BPF_LSM is not configured, running bpf selftesting will show
> BPF_F_BPRM_SECUREEXEC undefined error for bprm_opts.c.
> 
> The problem is that bprm_opts.c includes vmliunx.h. The vmlinux.h is
> generated by "bpftool btf dump file ./vmlinux format c". On the other
> hand, BPF_F_BPRM_SECUREEXEC is defined in include/uapi/linux/bpf.h
> and used only in bpf_lsm.c. When CONFIG_BPF_LSM is not set, bpf_lsm
> will not be compiled, so vmlinux.h will not include definition of
> BPF_F_BPRM_SECUREEXEC.
> 
> [...]

Here is the summary with links:
  - selftests/bpf: fix a compile error for BPF_F_BPRM_SECUREEXEC
    https://git.kernel.org/bpf/bpf/c/da4282c17d69

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