This is the mail archive of the glibc-bugs@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]

[Bug nptl/19430] __reclaim_stacks is bogus


https://sourceware.org/bugzilla/show_bug.cgi?id=19430

--- Comment #2 from Florian Weimer <fweimer at redhat dot com> ---
POSIX says:

“If a multi-threaded process calls fork(), the new process shall contain a
replica of the calling thread and its entire address space”

This suggests to me that other thread stacks and TLS variables need to be
preserved because they are part of the address space as well (at least if the
addresses of these objects have been taken and published in some way to the
current thread).

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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