mm/util: Introduce kmemdup_array()
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@nvidia.com> Acked-by:
Kees Cook <keescook@chromium.org> Signed-off-by:
Thierry Reding <treding@nvidia.com>
Showing
Please register or sign in to comment