From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7087 invoked by alias); 10 Aug 2014 17:04:18 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Received: (qmail 7065 invoked by uid 48); 10 Aug 2014 17:04:15 -0000 From: "crrodriguez at opensuse dot org" To: glibc-bugs@sourceware.org Subject: [Bug libc/17252] New: getrandom and getentropy syscall Date: Sun, 10 Aug 2014 17:04:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: crrodriguez at opensuse dot org X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2014-08/txt/msg00024.txt.bz2 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.