Page MenuHomeFreeBSD

getentropy: note that it is nearly POSIX 2024
ClosedPublic

Authored by emaste on Fri, Nov 15, 2:46 PM.
Tags
None
Referenced Files
F103088338: D47589.diff
Wed, Nov 20, 7:31 PM
Unknown Object (File)
Tue, Nov 19, 10:26 PM
Unknown Object (File)
Tue, Nov 19, 10:16 AM
Unknown Object (File)
Mon, Nov 18, 4:24 PM
Unknown Object (File)
Mon, Nov 18, 3:24 AM
Unknown Object (File)
Sun, Nov 17, 5:40 PM
Unknown Object (File)
Sun, Nov 17, 2:03 PM
Unknown Object (File)
Sat, Nov 16, 6:32 PM

Details

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

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

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.

concussious.bugzilla_runbox.com 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.Wed, Nov 20, 7:24 PM