pmem / vmem

Volatile Persistent Memory Allocator
https://pmem.io/vmem
Other
23 stars 17 forks source link

common: expect the correct return value from getrandom() #19

Closed kilobyte closed 3 years ago

kilobyte commented 3 years ago

During development, this was getentropy() which returns 0 on success rather than number of bytes copied. The wrong expectation results in fallback to bad randomness.


This change is Reviewable