Page MenuHomeFreeBSD

getentropy(3): Trap non-API errnos from getrandom(2) and abort
ClosedPublic

Authored by cem on Sep 5 2018, 3:54 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Nov 30, 10:06 AM
Unknown Object (File)
Wed, Nov 26, 11:10 PM
Unknown Object (File)
Tue, Nov 25, 2:55 PM
Unknown Object (File)
Sat, Nov 22, 12:39 AM
Unknown Object (File)
Thu, Nov 20, 7:05 PM
Unknown Object (File)
Thu, Nov 20, 7:03 PM
Unknown Object (File)
Thu, Nov 20, 7:03 PM
Unknown Object (File)
Thu, Nov 20, 6:52 PM
Subscribers

Details

Summary

Additionally, reconcile our abort behavior with arc4random(3). Unlike
SIGABRT, SIGKILL cannot be caught by the user program. These failures
are fatal conditions and should not return to the caller, as they did in
the instance that resulted in D17049.

While here, fix some minor typos in a comment.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable