diff options
author | Dave Airlie <airlied@redhat.com> | 2023-08-11 04:50:20 +1000 |
---|---|---|
committer | Danilo Krummrich <dakr@redhat.com> | 2023-09-20 00:15:50 +0200 |
commit | e3885f71213437e7fa3e347d16b2bf59d03ae05d (patch) | |
tree | 1ac3f785f40b1b339c79f262565acc9c2a33e5b1 /tools/testing/selftests/bpf/prog_tests/autoload.c | |
parent | 31499b0192cea06bbfe2782f288ac5cfe3dc9167 (diff) |
nouveau/u_memcpya: use vmemdup_user
I think there are limit checks in place for most things but the
new uAPI wants to not have them.
Add a limit check and use the vmemdup_user helper instead.
Signed-off-by: Dave Airlie <airlied@redhat.com>
Reviewed-by: Danilo Krummrich <dakr@redhat.com>
Signed-off-by: Danilo Krummrich <dakr@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230810185020.231135-1-airlied@gmail.com
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions