This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH v3] getrandom system call wrapper [BZ #17252]
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