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
Unknown Object (File)
Thu, Oct 1, 4:53 AM
Unknown Object (File)
Sun, Sep 27, 1:50 PM
Unknown Object (File)
Fri, Sep 25, 6:17 PM
Unknown Object (File)
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

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