commit | 251e2d337a1a4f2572439ea29fd27f8699c5c368 | [log] [tgz] |
---|---|---|
author | Daniel Borkmann <daniel@iogearbox.net> | Sat Nov 02 00:18:01 2019 +0100 |
committer | Alexei Starovoitov <ast@kernel.org> | Sat Nov 02 12:39:13 2019 -0700 |
tree | 53bc31ae0551e46b9dadc29dbbb7cc44fef1425d | |
parent | 6e07a6341277a1dbdf5ed0c41921033c234c1635 [diff] |
bpf, samples: Use bpf_probe_read_user where appropriate Use bpf_probe_read_user() helper instead of bpf_probe_read() for samples that attach to kprobes probing on user addresses. Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Acked-by: Andrii Nakryiko <andriin@fb.com> Link: https://lore.kernel.org/bpf/5b0144b3f8e031ec5e2438bd7de8d7877e63bf2f.1572649915.git.daniel@iogearbox.net