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
F174933161: D26351.diff
Wed, Oct 7, 1:35 AM
F174931421: D26351.id.diff
Wed, Oct 7, 1:21 AM
F174916821: D26351.id76742.diff
Tue, Oct 6, 11:13 PM
Unknown Object (File)
Thu, Oct 1, 5:33 AM
Unknown Object (File)
Fri, Sep 18, 11:05 PM
Unknown Object (File)
Fri, Sep 18, 10:24 PM
Unknown Object (File)
Fri, Sep 18, 6:07 PM
Unknown Object (File)
Sep 6 2026, 5:17 AM
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.