aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorJoanne Koong <[email protected]>2022-05-23 21:07:08 +0000
committerAndrii Nakryiko <[email protected]>2022-05-23 21:31:24 +0000
commit263ae152e96253f40c2c276faad8629e096b3bad (patch)
tree85bd51d3eaedd4ea9e10f886f7c2d145d3f25246 /net/unix/af_unix.c
parentbpf: Add verifier support for dynptrs (diff)
downloadkernel-263ae152e96253f40c2c276faad8629e096b3bad.tar.gz
kernel-263ae152e96253f40c2c276faad8629e096b3bad.zip
bpf: Add bpf_dynptr_from_mem for local dynptrs
This patch adds a new api bpf_dynptr_from_mem: long bpf_dynptr_from_mem(void *data, u32 size, u64 flags, struct bpf_dynptr *ptr); which initializes a dynptr to point to a bpf program's local memory. For now only local memory that is of reg type PTR_TO_MAP_VALUE is supported. Signed-off-by: Joanne Koong <[email protected]> Signed-off-by: Andrii Nakryiko <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions