tech-userlevel archive

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

Re: getrandom and getentropy



On 23.05.2020 02:38, Kamil Rytarowski wrote:
> On 01.05.2020 21:19, Taylor R Campbell wrote:
>> I propose that we additionally adopt getrandom and getentropy, two C
>> APIs the world is converging on.
> 
> I propose to import the getrandom code with the Linux semantics and
> integrate into compat_linux(8). More and more software expects that in
> place.
> 

To be clear, for the native (NetBSD) ABI, I think getentrop wrapping
kern.arandom might be enough, but I don't have strong opinions.

Here is a list of getrandom() implementation in Rust in Operating Systems:

https://docs.rs/getrandom/0.1.14/getrandom/

Attachment: signature.asc
Description: OpenPGP digital signature



Home | Main Index | Thread Index | Old Index