This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] Fix for bz14333 -- race between atexit() and exit()


On Mon, 10 Jul 2017, Paul Pluzhnikov wrote:

> Greetings,
> 
> This patch is an update to previous patch by Anoop:
> https://sourceware.org/ml/libc-alpha/2008-09/msg00013.html
> 
> See discussion in the above message.
> 
> Changes from the previous patch: I extended the lifetime of the lock
> from __new_exitfn to its callers, since they *also* modify global
> state.

Is there such a race for quick_exit / at_quick_exit (which postdate the 
previous patch), or not?  If there is, it should also be fixed (all 
atexit-like functions should be fixed).

Is it possible to add a test / tests for this issue to the glibc 
testsuite?

-- 
Joseph S. Myers
joseph@codesourcery.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]