commit | 9e80114b1a271803767d4c5baa11ea9e8678aac3 | [log] [tgz] |
---|---|---|
author | Andrii Nakryiko <andrii@kernel.org> | Fri Dec 18 15:56:14 2020 -0800 |
committer | Alexei Starovoitov <ast@kernel.org> | Fri Jan 08 13:39:24 2021 -0800 |
tree | 01d5e06446a122a33f0965259c8e23ca688f6af5 | |
parent | a4b09a9ef9451b09d87550720f8db3ae280b3eea [diff] |
selftests/bpf: Add tests for user- and non-CO-RE BPF_CORE_READ() variants Add selftests validating that newly added variations of BPF_CORE_READ(), for use with user-space addresses and for non-CO-RE reads, work as expected. Signed-off-by: Andrii Nakryiko <andrii@kernel.org> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Link: https://lore.kernel.org/bpf/20201218235614.2284956-4-andrii@kernel.org Signed-off-by: Alexei Starovoitov <ast@kernel.org>