From: Jeff Dike <jdike@addtoit.com>
To: wstearns@pobox.com, user-mode-linux-devel@lists.sourceforge.net
Subject: [uml-devel] [PATCH] Finish fixing core dumps under 2.6.4
Date: Fri, 12 Mar 2004 12:30:07 -0500 [thread overview]
Message-ID: <200403121730.i2CHU7Zl002882@ccure.user-mode-linux.org> (raw)
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
reply other threads:[~2004-03-12 17:16 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200403121730.i2CHU7Zl002882@ccure.user-mode-linux.org \
--to=jdike@addtoit.com \
--cc=user-mode-linux-devel@lists.sourceforge.net \
--cc=wstearns@pobox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox