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)
Jul 28 2025, 12:25 AM
Unknown Object (File)
Jul 26 2025, 2:21 AM
Unknown Object (File)
Jun 20 2025, 6:45 AM
Unknown Object (File)
Jun 17 2025, 11:37 PM
Unknown Object (File)
Jun 8 2025, 1:00 PM
Unknown Object (File)
May 24 2025, 3:45 AM
Unknown Object (File)
Apr 27 2025, 1:14 PM
Unknown Object (File)
Apr 23 2025, 6:44 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. :-)