public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/17252] New: getrandom and getentropy syscall
@ 2014-08-10 17:04 crrodriguez at opensuse dot org
  2014-08-11 15:47 ` [Bug libc/17252] " joseph at codesourcery dot com
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: crrodriguez at opensuse dot org @ 2014-08-10 17:04 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=17252

            Bug ID: 17252
           Summary: getrandom and getentropy syscall
           Product: glibc
           Version: unspecified
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: libc
          Assignee: unassigned at sourceware dot org
          Reporter: crrodriguez at opensuse dot org
                CC: drepper.fsp at gmail dot com

Hi:

Recently a getrandom() system call was added to the linux kernel

http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=c6e9d6f38894798696f23c8084ca7edbf16ee895

Please add the relevant system call wrappers to glibc under _GNU_SOURCE guard
and a getentropy() wrapper under _BSD_SOURCE for compatibility.

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.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2015-08-14 14:17 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-08-10 17:04 [Bug libc/17252] New: getrandom and getentropy syscall crrodriguez at opensuse dot org
2014-08-11 15:47 ` [Bug libc/17252] " joseph at codesourcery dot com
2014-08-11 20:49 ` fweimer at redhat dot com
2014-08-16 16:54 ` fweimer at redhat dot com
2014-10-06 13:38 ` alex.gaynor at gmail dot com
2015-02-24 14:21 ` victor.stinner at gmail dot com
2015-02-24 14:34 ` crrodriguez at opensuse dot org
2015-08-14 14:17 ` nmav at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).