Re: [PATCH, RFC] random: introduce getrandom(2) system call

2014-07-21 Thread Dwayne Litzenberger
On Thu, Jul 17, 2014 at 05:18:15AM -0400, Theodore Ts'o wrote: SYNOPSIS #include linux/random.h int getrandom(void *buf, size_t buflen, unsigned int flags); DESCRIPTION The system call getrandom() fills the buffer pointed to by buf with up to buflen random

Re: [PATCH, RFC] random: introduce getrandom(2) system call

2014-07-20 Thread Dwayne Litzenberger
On Thu, Jul 17, 2014 at 01:01:16PM -0400, Theodore Ts'o wrote: The getrandom(2) system call is a superset of getentropy(2). When we add the support for this into glibc, it won't be terribly difficult nor annoying to drop the following in alongside the standard support needed for any new system