A NOTE has been added to this issue. ====================================================================== https://www.austingroupbugs.net/view.php?id=1926 ====================================================================== Reported By: dannyniu Assigned To: ====================================================================== Project: 1003.1(2024)/Issue8 Issue ID: 1926 Category: Base Definitions and Headers Type: Clarification Requested Severity: Comment Priority: normal Status: New Name: DannyNiu/NJF Organization: Individual User Reference: C243.pdf Section: <limits.h> :: Other Invariant Values :: {GETENTROPY_MAX} Page Number: 293 Line Number: 10226-10228 Interp Status: --- Final Accepted Text: ====================================================================== Date Submitted: 2025-05-31 15:24 UTC Last Modified: 2025-06-03 09:37 UTC ====================================================================== Summary: Nobody has mistaken bytes for bits when deciding value for GETENTROPY_MAX do we? ======================================================================
---------------------------------------------------------------------- (0007193) geoffclare (manager) - 2025-06-03 09:37 https://www.austingroupbugs.net/view.php?id=1926#c7193 ---------------------------------------------------------------------- The text on the <limits.h> page referred to here simply states that the value is "The maximum value of the length argument in calls to the getentropy( ) function." It says nothing about the entropy obtained. There is a matching EINVAL error on the getentropy() page. The only possible problematic text is at the end of the getentropy() DESCRIPTION: "A successful call to getentropy( ) shall always provide the requested number of bytes of entropy." I believe this was taken directly from the glibc man page (the only change being the use of "shall"). Issue History Date Modified Username Field Change ====================================================================== 2025-05-31 15:24 dannyniu New Issue 2025-05-31 15:38 dannyniu Note Added: 0007192 2025-06-03 09:37 geoffclare Note Added: 0007193 ======================================================================
