diff options
| author | Jordan Rome <linux@jordanrome.com> | 2025-02-13 18:21:24 +0300 |
|---|---|---|
| committer | Andrii Nakryiko <andrii@kernel.org> | 2025-02-20 04:00:06 +0300 |
| commit | f0f8a5b58f78f42ed665f81375a9e99a24853b03 (patch) | |
| tree | 10fda3ca7dec283d56ab6d120879c15a0e78ecc9 /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | f0b79944e6f41b1a242b128fb2702378eb48fbd2 (diff) | |
| download | linux-f0f8a5b58f78f42ed665f81375a9e99a24853b03.tar.xz | |
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: Jordan Rome <linux@jordanrome.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Acked-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20250213152125.1837400-2-linux@jordanrome.com
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions
