Re: [PATCH bpf-next] selftests/bpf: Load struct_ops map in global_maps_resize test

[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 Wed, 24 Jul 2024 22:22:14 -0500 you wrote:
> In prog_tests/test_global_maps_resize.c, we test various use cases for
> resizing global maps. Commit 7244100e0389 ("libbpf: Don't take direct
> pointers into BTF data from st_ops") updated libbpf to not store pointers
> to volatile BTF data, which for some users, was causing a UAF when resizing
> a datasec array.
> 
> Let's ensure we have coverage for resizing datasec arrays with struct_ops
> progs by also including a struct_ops map and struct_ops prog in the
> test_global_map_resize skeleton. The map is automatically loaded, so we
> don't need to do anything other than add it to the BPF prog being tested
> to get the coverage.
> 
> [...]

Here is the summary with links:
  - [bpf-next] selftests/bpf: Load struct_ops map in global_maps_resize test
    https://git.kernel.org/bpf/bpf-next/c/7d30b8aa4fc3

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