This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
On 11/29/2016 07:54 AM, Zack Weinberg wrote:
Would it make sense for getentropy to loop internally rather than returning a short read?
FWIW, that is what I was planning when implementing a more-portable version of getentropy (I guess that's its name now?) for Gnulib, after the API settles down. Gnulib-using applications typically need a small number of random bytes. I don't want to worry about modifying these apps to take into account the possibility of waiting indefinitely due to a bug in the hardware or operating system. If such a wait occurs, it's OK with me to just say "fix your platform".
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |