Bug 282783

Summary: getentropy does not exactly match POSIX-2024
Product: Base System Reporter: Ed Maste <emaste>
Component: standardsAssignee: Ed Maste <emaste>
Status: In Progress ---    
Severity: Affects Only Me CC: ziaee
Priority: ---    
Version: CURRENT   
Hardware: Any   
OS: Any   
URL: https://reviews.freebsd.org/D47689

Description Ed Maste freebsd_committer freebsd_triage 2024-11-15 14:56:20 UTC
At least GETENTROPY_MAX is not defined and the return value for buflen > GETENTROPY_MAX should be EINVAL not EIO.
Comment 1 Ed Maste freebsd_committer freebsd_triage 2024-11-22 18:39:58 UTC
Proposed fix in https://reviews.freebsd.org/D47689