Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAPLrYEQGJtnDFOTqYDtDtLFa+LL3qq7oaH+UzydGsc67H3OJkQ@mail.gmail.com>
Date: Wed, 28 Jan 2015 17:01:22 +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);

Sorry! My mistake. Needed are two different versions (getrandom and
getentropy). I hurried too much...

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.