]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
bpf: Clean code with bpf_copy_to_user()
authorTao Chen <chen.dylane@linux.dev>
Thu, 3 Jul 2025 16:37:00 +0000 (00:37 +0800)
committerAlexei Starovoitov <ast@kernel.org>
Mon, 7 Jul 2025 15:53:59 +0000 (08:53 -0700)
commit3413bc0cf16e38db53830c837b4bf639fb2126ef
treeff761a4b08a519d5071ad20324ea889766b723b6
parent192e3aa145292bad69f1d702ab21755ae07dda40
bpf: Clean code with bpf_copy_to_user()

No logic change, use bpf_copy_to_user() to clean code.

Signed-off-by: Tao Chen <chen.dylane@linux.dev>
Acked-by: Yonghong Song <yonghong.song@linux.dev>
Link: https://lore.kernel.org/r/20250703163700.677628-1-chen.dylane@linux.dev
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
kernel/bpf/syscall.c