[Bug libc/4018] segfault in ld.so on amd64
Petr dot Salinger at seznam dot cz
sourceware-bugzilla@sourceware.org
Tue Feb 13 08:41:00 GMT 2007
------- Additional Comments From Petr dot Salinger at seznam dot cz 2007-02-13 08:41 -------
> And?
The only point - there used to be SHN_UNDEF on _supported_ platform in the
past and it worked correctly.
> These days we have _rtld_global._dl_rtld_{,un}lock_recursive, or better yet
> opendir/readdir/closedir code you compile into ld.so (i.e. with IS_IN_rtld
> defined) should use no locking at all - ld.so certainly isn't going to use
> the same DIR object between multiple threads.
I used test for IS_IN_rtld in our getcwd, it simply will not fallback
to <posix/getcwd.c> in ld.so. Anyway, thanks for the hint.
--
http://sourceware.org/bugzilla/show_bug.cgi?id=4018
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
More information about the Glibc-bugs
mailing list