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

Zack Weinberg zackw@panix.com
Thu Sep 8 15:10:00 GMT 2016


On Thu, Sep 8, 2016 at 10:40 AM, Florian Weimer <fweimer@redhat.com> wrote:
> 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:
>>>>
>>>> If we're worried about [POSIX], 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.

OK, then I have no objection to calling the function getrandom.  (I
haven't looked at the patch in detail, though.)

zw



More information about the Libc-alpha mailing list