commit | 07be4c4a3e7a0db148e44b16c5190e753d1c8569 | [log] [tgz] |
---|---|---|
author | Alexei Starovoitov <ast@kernel.org> | Thu Aug 27 15:01:12 2020 -0700 |
committer | Daniel Borkmann <daniel@iogearbox.net> | Fri Aug 28 21:20:33 2020 +0200 |
tree | 6069d0aed091b6505371ef8e405a6c5c7efd4c1c | |
parent | 1e6c62a8821557720a9b2ea9617359b264f2f67c [diff] |
bpf: Add bpf_copy_from_user() helper. Sleepable BPF programs can now use copy_from_user() to access user memory. Signed-off-by: Alexei Starovoitov <ast@kernel.org> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Acked-by: Andrii Nakryiko <andriin@fb.com> Acked-by: KP Singh <kpsingh@google.com> Link: https://lore.kernel.org/bpf/20200827220114.69225-4-alexei.starovoitov@gmail.com