[PATCH v3] getrandom system call wrapper [BZ #17252]
Zack Weinberg
zackw@panix.com
Thu Sep 8 14:19:00 GMT 2016
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? I think it will be useful to have a thin
syscall wrapper for this, independent of whether we also supply some
hypothetical POSIX-conformant getrandom(), or BSD-compatible
arc4random(), or whatever.
Reserving linux_* for thin wrappers around Linux-specific system calls
also might break the consensus deadlock around the
future-compatibility implications of other such wrappers.
zw
More information about the Libc-alpha
mailing list