* [uml-devel] [PATCH] Finish fixing core dumps under 2.6.4
@ 2004-03-12 17:30 Jeff Dike
0 siblings, 0 replies; only message in thread
From: Jeff Dike @ 2004-03-12 17:30 UTC (permalink / raw)
To: wstearns, user-mode-linux-devel
The patch below adds more core dumping fixes. I missed a couple of things
in the 2.6.4 patch yesterday.
Apply with patch -l since this is a cut'n'paste from an xterm.
Jeff
===== include/asm-um/archparam-i386.h 1.9 vs edited =====
--- 1.9/include/asm-um/archparam-i386.h Wed Mar 10 01:06:27 2004
+++ edited/include/asm-um/archparam-i386.h Wed Mar 10 23:30:48 2004
@@ -91,7 +91,9 @@
#define ELF_CORE_EXTRA_PHDRS (VSYSCALL_EHDR->e_phnum)
#endif
-#define ELF_CORE_EXTRA_PHDRS 0
+#undef ELF_CORE_EXTRA_PHDRS
+
+#if 0
#define ELF_CORE_WRITE_EXTRA_PHDRS \
do { \
const struct elf_phdr *const vsyscall_phdrs = \
@@ -123,6 +125,10 @@
vsyscall_phdrs[i].p_filesz); \
} \
} while (0)
+#endif
+
+#undef ELF_CORE_WRITE_EXTRA_PHDRS
+#undef ELF_CORE_WRITE_EXTRA_DATA
#define R_386_NONE 0
#define R_386_32 1
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-03-12 17:16 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-03-12 17:30 [uml-devel] [PATCH] Finish fixing core dumps under 2.6.4 Jeff Dike
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox