Re: [PATCH v11 1/4] random: add vgetrandom_alloc() syscall

From: Jason A. Donenfeld
Date: Mon Dec 05 2022 - 13:41:11 EST


On Mon, Dec 05, 2022 at 07:34:39PM +0100, Florian Weimer wrote:
> > + * - Passing the first state to munmap(2), as described above.
> > + * All other uses are undefined behavior, which is subject to change or removal
>
> Suggest: “Passing the first state *and total length* to munmap(2)”

Will do.

> Rest of the documentation looks good to me. It addresses my concerns
> about future evolution of this interface.

Great! So hopefully the api is more or less settled now, and we can turn
attention to the glibc part.

Jason