Ancestors

Toot

Written by Joe Groff on 2025-01-23 at 21:54

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

Descendants

Written by niko on 2025-01-24 at 08:51

@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

Written by Joe Groff on 2025-01-24 at 17:15

@nrab thanks for the background!

=> More informations about this toot | More toots from joe@f.duriansoftware.com

Proxy Information
Original URL
gemini://mastogem.picasoft.net/thread/113879894382381755
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
262.311601 milliseconds
Gemini-to-HTML Time
1.055747 milliseconds

This content has been proxied by September (ba2dc).