so one difference between musl libc and glibc's ld.so implementations (and probably other ELF loaders) is whether argc and argv get passed to static constructors—glibc does, musl doesn't. it would be handy for us to be able to save the command arguments as they appeared at process start, but i'm curious, is there a strong reason musl doesn't provide this? https://github.com/swiftlang/swift/pull/78854
=> More informations about this toot | More toots from joe@f.duriansoftware.com
@joe wow, I didn’t even know glibc does that. As for why musl doesn’t do that, this is what a quick google search revealed https://www.openwall.com/lists/musl/2020/07/15/2
=> More informations about this toot | More toots from nrab@hachyderm.io
@nrab thanks for the background!
=> More informations about this toot | More toots from joe@f.duriansoftware.com This content has been proxied by September (ba2dc).Proxy Information
text/gemini