Re: [PATCH bpf-next v2 6/6] selftests/bpf: Add tests for fault prone loads out of RCU pointers

Eduard Zingerman <[email protected]>
Newsgroups org.kernel.vger.bpf
Message-ID <[email protected]>
On Fri, 2026-08-14 at 23:53 +0200, Daniel Borkmann wrote:
> Cover the two loads which used to lose the BPF_PROBE_MEM rewrite, both
> reached from an RCU read-side critical section.
> 
>   # LDLIBS=-static PKG_CONFIG='pkg-config --static' ./vmtest.sh -- ./test_progs -t rcu_read_lock
>   [...]
>   #332/1   rcu_read_lock/success:OK
>   #332/2   rcu_read_lock/rcuptr_acquire:OK
>   #332/3   rcu_read_lock/negative_tests_inproper_region:OK
>   #332/4   rcu_read_lock/negative_tests_rcuptr_misuse:OK
>   #332     rcu_read_lock:OK
>   Summary: 1/4 PASSED, 0 SKIPPED, 0/0 FAILED
> 
> Signed-off-by: Daniel Borkmann <[email protected]>
> ---
>  v1 -> v2:
>    - new patch
> 

Acked-by: Eduard Zingerman <[email protected]>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.