NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: lib/53805: dlclose(3) does not interact correctly with atexit(3) callbacks



On Thu, Dec 20, 2018 at 06:40:01PM +0000, Kamil Rytarowski wrote:
>  > This is not a bug. Seriously, do not use atexit(3) from a dynamically
>  > opened DSO.
>  
>  What's the rationale that this is not allowed so I can prompt upstream
>  to change it?

It breaks the basic specification of atexit: to run a handler at process
termination.

Joerg


Home | Main Index | Thread Index | Old Index