mailing list of musl libc
 help / color / mirror / code / Atom feed
* libc.so, Bsymbolic no longer necessary?
@ 2019-12-02  4:23 Jon Chesterfield
  2019-12-02  4:39 ` Fangrui Song
  0 siblings, 1 reply; 3+ messages in thread
From: Jon Chesterfield @ 2019-12-02  4:23 UTC (permalink / raw)
  To: musl

[-- Attachment #1: Type: text/plain, Size: 529 bytes --]

Hey,

The early design notes for musl mention linking with Bsymbolic, which
seemed reasonable. I don't see that in the current Makefile, or the
equivalent protected visibility.

This seems to suggest that LD_PRELOAD can override calls to libc from
within libc. That seems dubious. Is there a use case for this? Or is it
avoided by the control flow in the loader itself?

I'm thinking of building the musl loader/libc elf with protected visibility
on the exported symbols and wondered whether I'm missing something.

Thanks,

Jon

[-- Attachment #2: Type: text/html, Size: 794 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-12-02  4:44 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-02  4:23 libc.so, Bsymbolic no longer necessary? Jon Chesterfield
2019-12-02  4:39 ` Fangrui Song
2019-12-02  4:44   ` Jon Chesterfield

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).