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]

Re: [PATCH v3] getrandom system call wrapper [BZ #17252]


On 09/08/2016 04:39 PM, Zack Weinberg wrote:
On Thu, Sep 8, 2016 at 10:31 AM, Florian Weimer <fweimer@redhat.com> wrote:
On 09/08/2016 04:19 PM, Zack Weinberg wrote:

On Thu, Sep 8, 2016 at 9:19 AM, Andreas Schwab <schwab@suse.de> wrote:


If getrandom is ever standardized be POSIX this will have to be reverted
anyway.


If we're worried about that, maybe the thin syscall wrapper should be
called linux_getrandom?

Solaris has already adopted getrandom in userpsace, and uses this symbol
(and also <sys/random.h>).

With compatible semantics?

Judging by the manual page, yes.

Florian


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]