Commit 2f53e219 authored by Hao Luo's avatar Hao Luo Committed by Carlos Llamas
Browse files

UPSTREAM: bpf/selftests: Test PTR_TO_RDONLY_MEM



commit 9497c458 upstream.

This test verifies that a ksym of non-struct can not be directly
updated.

Signed-off-by: default avatarHao Luo <haoluo@google.com>
Signed-off-by: default avatarAlexei Starovoitov <ast@kernel.org>
Acked-by: default avatarAndrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20211217003152.48334-10-haoluo@google.com


Cc: stable@vger.kernel.org # 5.15.x
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit 379382b3)
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@google.com>
Change-Id: I26242631ce9076fcb19fcb8bd387e9bdae9b8c73
parent 8f07caad
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment