diff options
author | 2025-02-13 07:21:25 -0800 | |
---|---|---|
committer | 2025-02-19 17:01:36 -0800 | |
commit | 7042882abc04c720ea798198981943502f4221fe (patch) | |
tree | 8dfa8f517d97844e282c0aed41d150fbc8031380 /mm/memory.c | |
parent | bpf: Add bpf_copy_from_user_task_str() kfunc (diff) | |
download | wireguard-linux-7042882abc04c720ea798198981943502f4221fe.tar.xz wireguard-linux-7042882abc04c720ea798198981943502f4221fe.zip |
selftests/bpf: Add tests for bpf_copy_from_user_task_str
This adds tests for both the happy path and the
error path (with and without the BPF_F_PAD_ZEROS flag).
Signed-off-by: Jordan Rome <linux@jordanrome.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20250213152125.1837400-3-linux@jordanrome.com
Diffstat (limited to 'mm/memory.c')
0 files changed, 0 insertions, 0 deletions