Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
floatboth
· 7y ago · 0 comments
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 :)
Comments
[–]
steveklabnik
7y ago
MUSL is statically linked, and so you don’t have those dynamic symbols. That’s the point!
[–]
floatboth
OP
7y ago
oh. I understand why that's the default, but it should be possible to dynamically link musl on a distro like Alpine, right?
[–]
cyphar
7y ago
Musl 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.
[–]
steveklabnik
7y ago
My understanding is that there’s some complications there, but I’m not fully aware of all the details, honestly.