Page MenuHomeFreeBSD

rtld: fix processing of preloaded z_initfirst objects
ClosedPublic

Authored by kib on Apr 17 2026, 12:29 PM.
Tags
None
Referenced Files
F173229949: D56466.id.diff
Thu, Sep 24, 12:28 PM
Unknown Object (File)
Fri, Sep 18, 8:58 PM
Unknown Object (File)
Fri, Sep 18, 8:25 PM
Unknown Object (File)
Fri, Sep 18, 6:13 PM
Unknown Object (File)
Sat, Sep 12, 3:25 AM
Unknown Object (File)
Thu, Sep 10, 8:27 PM
Unknown Object (File)
Thu, Sep 10, 4:22 PM
Unknown Object (File)
Thu, Sep 10, 3:59 PM

Details

Summary
After we found some preloaded z_initfirst object, we must process till
the end of the preload list still, not stopping on the first found
object.

Reported by:    des
Fixes:  78aaab9f1cf359f3b7325e4369653f6b50593393

Diff Detail

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

Event Timeline

kib requested review of this revision.Apr 17 2026, 12:29 PM

This patch resolves issues we were seeing with initfirst and LD_PRELOAD libraries. Thanks!

This revision is now accepted and ready to land.Apr 17 2026, 3:12 PM