3 ms·
Not that it matters which particular libc you use, any libc is going to have dynamic symbols named 'open', 'read' etc. that can be hooked :)
by floatboth 8y ago
Not that it matters which particular libc you use, any libc is going to have dynamic symbols named 'open', 'read' etc. that can be hooked :)
- steveklabnik 8y agoMUSL is statically linked, and so you don’t have those dynamic symbols. That’s the point!
- floatboth 8y agooh. I understand why that's the default, but it should be possible to dynamically link musl on a distro like Alpine, right?
- steveklabnik 8y agoMy understanding is that there’s some complications there, but I’m not fully aware of all the details, honestly.
- cyphar 8y agoMusl supports dynamic linking. But it also supports static linking (which glibc doesn't really support because of NSS and similarly fun features) -- hence why Rust requires musl to statically link Rust binaries.