diff options
| author | 2021-05-13 17:36:04 -0700 | |
|---|---|---|
| committer | 2021-05-19 00:33:39 +0200 | |
| commit | cdf7fb0a9f3d36b279590ac41e61c6b655db0d4a (patch) | |
| tree | df7f05d1270c6f443a613848786e024a3f37bcef /kernel/bpf/syscall.c | |
| parent | bpf: Introduce bpf_sys_bpf() helper and program type. (diff) | |
| download | wireguard-linux-cdf7fb0a9f3d36b279590ac41e61c6b655db0d4a.tar.xz wireguard-linux-cdf7fb0a9f3d36b279590ac41e61c6b655db0d4a.zip | |
bpf: Introduce bpfptr_t user/kernel pointer.
Similar to sockptr_t introduce bpfptr_t with few additions:
make_bpfptr() creates new user/kernel pointer in the same address space as
existing user/kernel pointer.
bpfptr_add() advances the user/kernel pointer.
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20210514003623.28033-3-alexei.starovoitov@gmail.com
Diffstat (limited to 'kernel/bpf/syscall.c')
0 files changed, 0 insertions, 0 deletions
