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:50:04 +0100
From: Daniel Cegiełka <daniel.cegielka@...il.com>
To: musl@...ts.openwall.com
Subject: Re: getrandom syscall

2015-01-28 16:41 GMT+01:00 Szabolcs Nagy <nsz@...t70.net>:
> * 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

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

Daniel

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.