Home
last modified time | relevance | path

Searched hist:"9497 c458c10b049438ef6e6ddda898edbc3ec6a8" (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dtest_ksyms_btf_write_check.c9497c458c10b049438ef6e6ddda898edbc3ec6a8 Thu Dec 16 18:31:52 CST 2021 Hao Luo <haoluo@google.com> bpf/selftests: Test PTR_TO_RDONLY_MEM

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
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dksyms_btf.cdiff 9497c458c10b049438ef6e6ddda898edbc3ec6a8 Thu Dec 16 18:31:52 CST 2021 Hao Luo <haoluo@google.com> bpf/selftests: Test PTR_TO_RDONLY_MEM

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