Song Liu ebc1415d9b bpf: Introduce bpf_arch_text_copy
This will be used to copy JITed text to RO protected module memory. On
x86, bpf_arch_text_copy is implemented with text_poke_copy.

bpf_arch_text_copy returns pointer to dst on success, and ERR_PTR(errno)
on errors.

Signed-off-by: Song Liu <song@kernel.org>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20220204185742.271030-7-song@kernel.org
2022-02-07 18:13:01 -08:00
..
2022-01-12 11:27:57 -08:00
2022-01-16 15:53:00 +02:00
2022-01-16 16:15:14 +02:00
2022-02-07 18:13:01 -08:00
2022-01-14 14:37:34 +01:00
2022-01-10 19:06:09 -08:00
2022-01-10 14:33:42 +01:00
2022-01-12 16:42:00 -08:00