Files
linux-stable-mirror/include/uapi/linux
Joanne Koong 13bbbfbea7 bpf: Add bpf_dynptr_read and bpf_dynptr_write
This patch adds two helper functions, bpf_dynptr_read and
bpf_dynptr_write:

long bpf_dynptr_read(void *dst, u32 len, struct bpf_dynptr *src, u32 offset);

long bpf_dynptr_write(struct bpf_dynptr *dst, u32 offset, void *src, u32 len);

The dynptr passed into these functions must be valid dynptrs that have
been initialized.

Signed-off-by: Joanne Koong <joannelkoong@gmail.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Acked-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20220523210712.3641569-5-joannelkoong@gmail.com
2022-05-23 14:31:28 -07:00
..
2022-02-21 19:33:05 +00:00
2021-11-26 16:48:59 +01:00
2022-03-11 08:28:05 -08:00
2021-11-15 07:53:10 -08:00
2022-03-01 18:29:27 -08:00
2022-03-08 22:06:11 -08:00
2022-03-18 13:09:17 +02:00