Page MenuHomeFreeBSD

rtld: add support for -z initfirst
ClosedPublic

Authored by kib on May 3 2025, 8:48 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Oct 18, 9:40 PM
Unknown Object (File)
Sat, Oct 11, 2:29 AM
Unknown Object (File)
Mon, Sep 29, 10:36 AM
Unknown Object (File)
Wed, Sep 24, 7:15 PM
Unknown Object (File)
Sun, Sep 21, 7:07 AM
Unknown Object (File)
Sep 20 2025, 1:35 AM
Unknown Object (File)
Sep 20 2025, 1:33 AM
Unknown Object (File)
Sep 14 2025, 12:12 AM
Subscribers

Details

Summary
Internally, initfirst objects and their needed objects are put on the
dedicated initlist, which is prepended to the current regular initlist
at the last moment.

Diff Detail

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

Event Timeline

Adapt to the changed STAILQ_REVERSE

Rewrite to handle many more corner cases I can think of.

kib added a reviewer: kevans.
This revision was not accepted when it landed; it landed in state Needs Review.May 6 2025, 5:16 PM
This revision was automatically updated to reflect the committed changes.