[PATCH v2] Bug 11941: Improper assert map->l_init_called in dlclose

Carlos O'Donell carlos@redhat.com
Thu Dec 22 20:47:00 GMT 2016


On 12/22/2016 01:26 PM, Carlos O'Donell wrote:
> v2
> - Fix GNU style problems.
> - Fix INFO message typo.
> - Fix missing unlock in non-local goto from _dl_signal_error.
> - Filed bug 20990 for double-dlclose detection issues and reference
>   bug in new expanded comment.
> - Added reference from plugin to DSO to avoid future --as-needed problems.

v3
- Send the right patch with 'plugin_func' plugin symbol.

> +  plugin_func = (void (*)(void)) dlsym (plugin_lib, "plugin_func");

> diff --git a/elf/tst-nodelete-dlclose-plugin.c b/elf/tst-nodelete-dlclose-plugin.c
> new file mode 100644
> index 0000000..d0261ea
> --- /dev/null
> +++ b/elf/tst-nodelete-dlclose-plugin.c

> +void
> +plugin (void)

s/plugin/plugin_func/g.

-- 
Cheers,
Carlos.



More information about the Libc-alpha mailing list