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
Unknown Object (File)
Fri, Nov 21, 1:54 AM
Unknown Object (File)
Fri, Nov 21, 1:40 AM
Unknown Object (File)
Fri, Nov 21, 1:39 AM
Unknown Object (File)
Fri, Nov 21, 1:36 AM
Unknown Object (File)
Nov 9 2025, 1:01 PM
Unknown Object (File)
Nov 9 2025, 8:53 AM
Unknown Object (File)
Nov 9 2025, 4:01 AM
Unknown Object (File)
Nov 7 2025, 2:30 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 Skipped
Unit
Tests Skipped
Build Status
Buildable 33429

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.