Re: [PATCH 1/9] Provide a function to create a NUL-terminated string from unterminated data

From: Rasmus Villemoes
Date: Wed May 03 2017 - 15:27:15 EST

On Wed, May 03 2017, David Howells <dhowells@xxxxxxxxxx> wrote:

> Provide a function, kstrcreate()

<bikeshed>why not kmemdup_nul, since it seems to be to kmemdup exactly as
memdup_user_nul is to memdup_user?</bikeshed>