tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: getrandom and getentropy



On Sat, May 02, 2020 at 12:22:20PM +0000, maya%NetBSD.org@localhost wrote:
> Having compat shims in libc is as good as having compat shims in syscall
> because it isn't possible to share raw syscall code between NetBSD and
> other operating systems -- our calling convention is different.

I can't parse that - a "compat shim" here would be something like
a getrandom() function implemented by doing sysctl kern.arandom.

Helps everything expecting the getrandom() API and using libc, does not
help go or rust.

Not sure how other OSes get involved here.

Martin


Home | Main Index | Thread Index | Old Index