Page MenuHomeFreeBSD

getentropy: note that it is nearly POSIX 2024
ClosedPublic

Authored by emaste on Nov 15 2024, 2:46 PM.
Tags
None
Referenced Files
F137832024: D47589.diff
Wed, Nov 26, 6:02 AM
Unknown Object (File)
Tue, Nov 25, 1:30 PM
Unknown Object (File)
Mon, Nov 24, 8:50 AM
Unknown Object (File)
Thu, Nov 13, 9:17 PM
Unknown Object (File)
Tue, Nov 4, 11:38 AM
Unknown Object (File)
Wed, Oct 29, 1:07 PM
Unknown Object (File)
Wed, Oct 29, 12:56 PM
Unknown Object (File)
Wed, Oct 29, 12:56 PM
Subscribers

Details

Summary
Our implementation diverges from POSIX 2024 in a couple of ways, as
noted in BUGS.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

emaste created this revision.
lib/libc/gen/getentropy.3
86

Does this need a PR?

87

Can you articulate which ones briefly?

lib/libc/gen/getentropy.3
86

OK, PR282783

87

At least EIO instead of EINVAL when len exceeds GETENTROPY_MAX but I haven't checked all values that we return and all that are in 2024.

ziaee added inline comments.
lib/libc/gen/getentropy.3
72–73

In vi(1) we say "is close to".

lib/libc/gen/getentropy.3
18

typo, mention that it nearly conforms to posix 24

lib/libc/gen/getentropy.3
87
This revision is now accepted and ready to land.Nov 20 2024, 7:24 PM