RFC: Add tests for namespace for static linking
Florian Weimer
fweimer@redhat.com
Wed Nov 12 17:06:00 GMT 2014
On 11/08/2014 02:49 AM, Joseph Myers wrote:
> One thing we currently try to ensure manually is that glibc is
> namespace-clean for static linking; that is, if you only use features
> from a particular standard (including the set of features exposed by
> headers given feature test macros such as _DEFAULT_SOURCE that don't
> correspond to any written standard), the library objects brought in by
> the static linker will not define or use (strong) names that are
> reserved to the user in that standard.
Why isn't there a generic, linker-based fix which reuses the tagging we
have for the dynamic linking case? Because we want to keep object file
boundaries?
--
Florian Weimer / Red Hat Product Security
More information about the Libc-alpha
mailing list