Re: [PATCH v2 bpf-next 0/3] Fix BPF verifier global subprog context argument 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 Daniel Borkmann <daniel@xxxxxxxxxxxxx>:

On Wed, 15 Feb 2023 20:59:51 -0800 you wrote:
> Fix kernel bug in determining whether global subprog's argument is PTR_TO_CTX,
> which is done based on type names. Currently KPROBE programs are broken.
> 
> Add few tests validating that KPROBE context can be passed to global subprog.
> For that also refactor test_global_funcs test to use test_loader framework.
> 
> v1->v2:
>   - fix compilation warning on arm64 and s390x by force-casting ctx to
>     `void *`, to discard const from `const struct user_pt_regs *`, when
>     passing it to bpf_get_stack().
> 
> [...]

Here is the summary with links:
  - [v2,bpf-next,1/3] bpf: fix global subprog context argument resolution logic
    https://git.kernel.org/bpf/bpf-next/c/d384dce281ed
  - [v2,bpf-next,2/3] selftests/bpf: convert test_global_funcs test to test_loader framework
    https://git.kernel.org/bpf/bpf-next/c/95ebb376176c
  - [v2,bpf-next,3/3] selftests/bpf: add global subprog context passing tests
    https://git.kernel.org/bpf/bpf-next/c/e2b5cfc978f8

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