Raise errors from ELF constructors

Florian Weimer fweimer@redhat.com
Mon Nov 9 10:57:00 GMT 2015


On 11/09/2015 09:08 AM, Florian Weimer wrote:
> Is there a way to raise an error from an ELF constructor so that the
> error is reported by dlopen and can be inspected by dlerror?

For example, could the ELF constructor call a glibc function, which in
turns calls _dl_signal_error?

Florian




More information about the Libc-help mailing list