Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Wed, 28 Jan 2015 16:41:09 +0100
From: Szabolcs Nagy <nsz@...t70.net>
To: musl@...ts.openwall.com
Subject: Re: getrandom syscall

* Rich Felker <dalias@...c.org> [2015-01-28 09:54:10 -0500]:
> On Tue, Jan 27, 2015 at 11:12:46PM +0100, Daniel Cegie??ka wrote:
> > 
> > int getrandom(void *buf, size_t len)

i just noticed the signature

where did this signature come from?
glibc does not have it and bsds have getentropy

the linux syscall is

int getrandom(void *buf, size_t buflen, unsigned int flags);

although it's not yet documented as far as i can see:

http://man7.org/linux/man-pages/man2/syscalls.2.html

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.