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)
Mon, Jul 6, 2:24 AM
Unknown Object (File)
Sat, Jul 4, 4:53 PM
Unknown Object (File)
Sat, Jul 4, 1:21 PM
Unknown Object (File)
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

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