[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 3/5] linux-user: do not avoid dumping of qemu itself
From: |
riku . voipio |
Subject: |
[Qemu-devel] [PATCH 3/5] linux-user: do not avoid dumping of qemu itself |
Date: |
Tue, 30 Jun 2009 17:15:09 +0300 |
From: Riku Voipio <address@hidden>
Previously we disabled dumping of qemu itself if we already
created coredump of the target process. This broke the abort01
LTP test and any application that used WCOREDUMP to find out
the child process dumped core. Remove this feature.
Signed-off-by: Riku Voipio <address@hidden>
---
linux-user/signal.c | 6 ------
1 files changed, 0 insertions(+), 6 deletions(-)
diff --git a/linux-user/signal.c b/linux-user/signal.c
index 6a34171..e1b6458 100644
--- a/linux-user/signal.c
+++ b/linux-user/signal.c
@@ -383,12 +383,6 @@ static void QEMU_NORETURN force_sig(int sig)
((*ts->bprm->core_dump)(sig, thread_env) == 0);
}
if (core_dumped) {
- /* we already dumped the core of target process, we don't want
- * a coredump of qemu itself */
- struct rlimit nodump;
- getrlimit(RLIMIT_CORE, &nodump);
- nodump.rlim_cur=0;
- setrlimit(RLIMIT_CORE, &nodump);
(void) fprintf(stderr, "qemu: uncaught target signal %d (%s) - %s\n",
sig, strsignal(host_sig), "core dumped" );
}
--
1.6.2.1