Page MenuHomeFreeBSD

loader: userboot: provide a getsecs() implementation
ClosedPublic

Authored by kevans on Apr 3 2022, 1:52 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Nov 27, 6:55 AM
Unknown Object (File)
Thu, Nov 27, 6:54 AM
Unknown Object (File)
Sun, Nov 23, 9:00 PM
Unknown Object (File)
Sun, Nov 23, 2:24 PM
Unknown Object (File)
Wed, Nov 12, 1:37 AM
Unknown Object (File)
Sun, Nov 9, 1:13 AM
Unknown Object (File)
Oct 13 2025, 1:37 AM
Unknown Object (File)
Oct 13 2025, 1:37 AM
Subscribers

Details

Reviewers
imp
jhb
manu
Group Reviewers
bhyve
Summary

We don't need it for userboot, but it avoids issues with BIND_NOW, so
just provide it. time(3) isn't defined but ends up being provided by
libc linked into the host process, which is generally fine.

PR: 262920
MFC after: 3 days

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 44973
Build 41861: arc lint + arc unit

Event Timeline

kevans requested review of this revision.Apr 3 2022, 1:52 AM
This revision is now accepted and ready to land.Apr 3 2022, 10:08 PM

Cool! Does this mean we'll get network booting for usermode loader? :)

Committed but I mispelled "Differential". D'oh.

In D34758#787814, @imp wrote:

Cool! Does this mean we'll get network booting for usermode loader? :)

Inches. :-)