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)
Fri, Jan 24, 9:34 PM
Unknown Object (File)
Fri, Jan 17, 10:51 PM
Unknown Object (File)
Dec 12 2024, 12:43 AM
Unknown Object (File)
Nov 2 2024, 3:10 AM
Unknown Object (File)
Oct 18 2024, 8:29 PM
Unknown Object (File)
Oct 18 2024, 8:29 PM
Unknown Object (File)
Oct 18 2024, 8:29 PM
Unknown Object (File)
Oct 18 2024, 8:02 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