Re: [PATCH v5 1/8] mm/util: Introduce kmemdup_array()

From: Kees Cook
Date: Mon Oct 16 2023 - 15:49:36 EST


On Mon, Oct 16, 2023 at 11:04:04AM +0530, Kartik wrote:
> Introduce kmemdup_array() API to duplicate `n` number of elements
> from a given array. This internally uses kmemdup to allocate and duplicate
> the `src` array.
>
> Signed-off-by: Kartik <kkartik@xxxxxxxxxx>

Acked-by: Kees Cook <keescook@xxxxxxxxxxxx>

--
Kees Cook