This is the mail archive of the
glibc-bugs@sources.redhat.com
mailing list for the glibc project.
[Bug libc/387] ld-linux.so has its name in ro_data in link_map entry => problem in core files
- From: "jcownie at etnus dot com" <sourceware-bugzilla at sources dot redhat dot com>
- To: glibc-bugs at sources dot redhat dot com
- Date: 28 Sep 2004 08:47:41 -0000
- Subject: [Bug libc/387] ld-linux.so has its name in ro_data in link_map entry => problem in core files
- References: <20040916101402.387.jcownie@etnus.com>
- Reply-to: sourceware-bugzilla at sources dot redhat dot com
------- Additional Comments From jcownie at etnus dot com 2004-09-28 08:47 -------
Subject: Re: ld-linux.so has its name in ro_data in link_map entry => problem in core files
> How do you like this patch? It works ok for me. I will propose it to Linus.
I am slightly nervous abot two things in the patch.
1) If the comment in the old version of the function that attempting to
dump non-readable sections fails, it seems reasonable to keep the
test for readable in there.
2) I'm concerned that the test for COW may lead to you dumping things
you didn't want to. Specifically consider things like shared text
segments which have had pages duplicated because a debugger has
planted a breakpoint in there. Historical precedent is not to dump
these, even though they may pass your test for COW.
--
http://sources.redhat.com/bugzilla/show_bug.cgi?id=387
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.