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)
Tue, Oct 21, 2:16 AM
Unknown Object (File)
Sun, Oct 19, 6:42 PM
Unknown Object (File)
Sun, Oct 19, 6:42 PM
Unknown Object (File)
Sun, Oct 19, 6:41 PM
Unknown Object (File)
Sun, Oct 19, 4:34 AM
Unknown Object (File)
Sat, Oct 18, 4:26 AM
Unknown Object (File)
Sun, Oct 5, 4:12 AM
Unknown Object (File)
Mon, Sep 29, 3:21 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