diff options
author | Alexei Starovoitov <ast@kernel.org> | 2020-08-27 15:01:12 -0700 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2020-08-28 21:20:33 +0200 |
commit | 07be4c4a3e7a0db148e44b16c5190e753d1c8569 (patch) | |
tree | 6069d0aed091b6505371ef8e405a6c5c7efd4c1c /tools/spi | |
parent | 1e6c62a8821557720a9b2ea9617359b264f2f67c (diff) | |
download | linux-07be4c4a3e7a0db148e44b16c5190e753d1c8569.tar.gz linux-07be4c4a3e7a0db148e44b16c5190e753d1c8569.tar.bz2 linux-07be4c4a3e7a0db148e44b16c5190e753d1c8569.zip |
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
Diffstat (limited to 'tools/spi')
0 files changed, 0 insertions, 0 deletions