This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/17252] getrandom and getentropy syscall
- From: "fweimer at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Sat, 16 Aug 2014 16:54:03 +0000
- Subject: [Bug libc/17252] getrandom and getentropy syscall
- Auto-submitted: auto-generated
- References: <bug-17252-131 at http dot sourceware dot org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=17252
--- Comment #2 from Florian Weimer <fweimer at redhat dot com> ---
(In reply to Cristian RodrÃguez from comment #0)
> Ideally, if the system call is not found in the running kernel, fallback to
> emulation by reading /dev/urandom in the default case or /dev/random if
> GRND_RANDOM is used.
If GRND_NONBLOCK is not set and the buffer is proper, the system call cannot
fail. It is impossible to achieve that with emulation.
--
You are receiving this mail because:
You are on the CC list for the bug.