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

Florian Weimer fweimer@redhat.com
Thu Sep 8 14:40:00 GMT 2016


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



More information about the Libc-alpha mailing list