Page MenuHomeFreeBSD

getentropy: Remove fallback code
ClosedPublic

Authored by emaste on Nov 16 2024, 3:35 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Jan 6, 10:46 AM
Unknown Object (File)
Wed, Jan 1, 5:53 AM
Unknown Object (File)
Tue, Dec 31, 5:12 AM
Unknown Object (File)
Mon, Dec 30, 5:36 AM
Unknown Object (File)
Sun, Dec 29, 5:38 AM
Unknown Object (File)
Sat, Dec 28, 5:27 AM
Unknown Object (File)
Fri, Dec 27, 10:00 AM
Unknown Object (File)
Nov 27 2024, 5:23 AM
Subscribers

Details

Summary
We don't in general support running newer libc on an older kernel, but
have occasionally added support for specific functionality on a case-by-
case basis.  When we do this it is usually done as an aid for developers
to get across a change that introduced new functionality, as for 64-bit
inodes and the introduction of the getentropy syscall.

The getentropy syscall was added in commit ed1fa01ac45a ("Regen after
r337998.") in 2018, and exists in all supported FreeBSD versions.  The
backwards-compatibility support is no longer needed, so remove it.

Sponsored by:   The FreeBSD Foundation

Diff Detail

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

Event Timeline

emaste created this revision.
This revision is now accepted and ready to land.Nov 16 2024, 5:48 PM

In the commit message I'll add a note that the special case for handling ECAPMODE applied to a few months worth of kernel versions also in 2018.

This revision was automatically updated to reflect the committed changes.