Files
rockchip-kernel/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-01-25 18:44:44 +01:00
2020-12-28 14:21:31 +00:00
2021-11-01 13:36:08 +00:00
2020-08-12 10:58:00 -07:00
2020-10-09 12:47:02 -06:00
2021-11-26 16:48:59 +01:00
2020-07-19 19:20:22 -07:00
2020-06-24 21:34:11 +02:00
2021-10-07 13:51:11 +02:00
2021-02-08 13:01:24 +01:00
2022-03-11 08:28:05 -08:00
2021-11-15 07:53:10 -08:00
2021-06-03 15:31:34 -07:00
2022-03-01 18:29:27 -08:00
2020-07-13 15:32:56 -07:00
2021-02-26 09:41:03 -08:00
2021-03-10 09:34:06 +01:00
2020-08-18 15:44:44 +02:00
2022-03-08 22:06:11 -08:00
2021-10-14 23:06:28 +02:00
2021-07-06 10:37:46 -05:00
2022-03-18 13:09:17 +02:00
2021-03-10 09:34:06 +01:00
2021-01-07 16:17:32 +01:00
2021-09-16 14:36:26 +01:00
2020-10-23 11:55:28 -04:00
2021-06-12 13:16:45 -07:00
2020-07-13 15:32:56 -07:00