diff options
| author | Hao Luo <haoluo@google.com> | 2021-12-16 16:31:52 -0800 |
|---|---|---|
| committer | Alexei Starovoitov <ast@kernel.org> | 2021-12-18 13:27:41 -0800 |
| commit | 9497c458c10b049438ef6e6ddda898edbc3ec6a8 (patch) | |
| tree | bc4fe9822abbf115f8c1183461bc9fdcb96f9212 /net/unix/af_unix.c | |
| parent | bpf: Add MEM_RDONLY for helper args that are pointers to rdonly mem. (diff) | |
| download | linux-9497c458c10b049438ef6e6ddda898edbc3ec6a8.tar.gz linux-9497c458c10b049438ef6e6ddda898edbc3ec6a8.zip | |
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
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
