Page MenuHomeFreeBSD

rtld: pass argc/argv/env to dso inits.
ClosedPublic

Authored by kib on Sep 7 2020, 11:39 AM.
Tags
None
Referenced Files
F118798562: D26351.id.diff
Mon, Jun 2, 12:54 AM
Unknown Object (File)
Sun, Jun 1, 1:20 PM
Unknown Object (File)
Wed, May 21, 8:52 AM
Unknown Object (File)
Mon, May 19, 2:17 AM
Unknown Object (File)
Fri, May 9, 11:03 PM
Unknown Object (File)
Mar 26 2025, 4:26 AM
Unknown Object (File)
Feb 11 2025, 1:41 AM
Unknown Object (File)
Feb 10 2025, 2:44 PM
Subscribers

Details

Summary

This is consistent with how array inits are called, and also makes us more compatible with glibc environment.

Requested by: Alex S <iwtcex@gmail.com>
PR: 249162

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

kib requested review of this revision.Sep 7 2020, 11:39 AM
This revision is now accepted and ready to land.Sep 7 2020, 6:02 PM

LGTM, I don't see any downsides. I sort of feel like it's asymmetric that the arguments aren't passed to the fini functions, but glibc also doesn't do that. :)

This revision was automatically updated to reflect the committed changes.