Commit f0f8a5b5 authored by Jordan Rome's avatar Jordan Rome Committed by Andrii Nakryiko
Browse files

bpf: Add bpf_copy_from_user_task_str() kfunc



This new kfunc will be able to copy a zero-terminated C strings from
another task's address space. This is similar to `bpf_copy_from_user_str()`
but reads memory of specified task.

Signed-off-by: default avatarJordan Rome <linux@jordanrome.com>
Signed-off-by: default avatarAndrii Nakryiko <andrii@kernel.org>
Acked-by: default avatarAndrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20250213152125.1837400-2-linux@jordanrome.com
parent f0b79944
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment