[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Bug 179072] _dl_debug_state() RT_CONSISTENT called too early



Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.


https://bugzilla.redhat.com/show_bug.cgi?id=179072





--- Comment #15 from Paul Pluzhnikov <ppluzhnikov google com>  2008-11-12 18:05:03 EDT ---
(In reply to comment #12)

> _dl_debug_state() call be probably called at three places:
> (A) r_map is already correct (guaranteed by RT_CONSISTENT); current version.
> (B) Like (A) but also after the relocations are resolved.
> (C) Like (B) but also after the initializers are executed.
> 
> I believe the call+RT_CONSISTENT was intended for (A) and neither (B) nor (C).

What makes you believe that?

I can't find official documentation for RT_CONSISTENT,
but Solaris (from which this interface is copied) AFAICT calls 
_dl_debug_state() (or rather its Solaris equivalent) at (B):
http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/cmd/sgs/rtld/common/setup.c#1028

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]