HomeFreeBSD

libc: Fix getentropy POSIX 2024 conformance issues

Description

libc: Fix getentropy POSIX 2024 conformance issues

GETENTROPY_MAX should be defined in limits.h. EINVAL is the return
value for buflen > GETENTROPY_MAX.

PR: 282783
Reviewed by: markj, asomers, jhb
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D47689

Details

Provenance
emasteAuthored on Nov 16 2024, 3:14 PM
Reviewer
markj
Differential Revision
D47689: libc: Fix getentropy POSIX 2024 conformance issues
Parents
rG98bebc20cef7: Revert "certctl: Set METALOG ownership to root:wheel"
Branches
Unknown
Tags
Unknown