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
F170580371: D56466.id175929.diff
Sat, Sep 5, 12:17 PM
F170573896: D56466.id.diff
Sat, Sep 5, 11:34 AM
Unknown Object (File)
Thu, Sep 3, 10:28 PM
Unknown Object (File)
Thu, Sep 3, 9:17 PM
Unknown Object (File)
Thu, Sep 3, 4:19 PM
Unknown Object (File)
Thu, Sep 3, 4:10 PM
Unknown Object (File)
Tue, Sep 1, 9:28 PM
Unknown Object (File)
Tue, Sep 1, 4:49 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