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:Hao Luo <haoluo@google.com> Signed-off-by:
Alexei Starovoitov <ast@kernel.org> Acked-by:
Andrii 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:
Greg Kroah-Hartman <gregkh@linuxfoundation.org> (cherry picked from commit 379382b3) Signed-off-by:
Greg Kroah-Hartman <gregkh@google.com> Change-Id: I26242631ce9076fcb19fcb8bd387e9bdae9b8c73
Loading
Please sign in to comment