Re: [PATCH v2 0/4] usercopy: generic tests + arm64 fixes

From: Kees Cook
Date: Wed Nov 15 2023 - 17:30:17 EST


On Tue, Mar 21, 2023 at 12:25:10PM +0000, Mark Rutland wrote:
> This series adds tests for the usercopy functions, which have found a
> few issues on most architectures I've tested on. The last two patches
> are fixes for arm64 (which pass all the tests, and are at least as good
> performance-wise as the existing implementation).
> [...]
> lib/usercopy_kunit.c | 506 ++++++++++++++++++++++++++++++++++

You didn't like lib/test_user_copy.c ? :)

There was a prior attempt to move it to KUnit:

https://lore.kernel.org/lkml/20200721174654.72132-1-vitor@xxxxxxxxxxx/

--
Kees Cook