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
F161431824: D56466.id175929.diff
Fri, Jul 3, 4:51 PM
Unknown Object (File)
May 29 2026, 7:14 AM
Unknown Object (File)
May 27 2026, 7:52 PM
Unknown Object (File)
May 19 2026, 7:42 AM
Unknown Object (File)
May 18 2026, 3:07 PM
Unknown Object (File)
May 18 2026, 3:02 PM
Unknown Object (File)
May 15 2026, 12:39 PM
Unknown Object (File)
May 15 2026, 4:13 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