Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Step:15-SP4
qemu.28167
XXX-dont-dump-core-on-sigabort.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File XXX-dont-dump-core-on-sigabort.patch of Package qemu.28167
From: Alexander Graf <agraf@suse.de> Date: Mon, 21 Nov 2011 23:50:36 +0100 Subject: XXX dont dump core on sigabort Signed-off-by: Bruce Rogers <brogers@suse.com> --- linux-user/signal.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/linux-user/signal.c b/linux-user/signal.c index 6d5e5b698cc827416b4fdf78aac3..41ec78926582729c91f486f1fb15 100644 --- a/linux-user/signal.c +++ b/linux-user/signal.c @@ -734,6 +734,10 @@ static void QEMU_NORETURN dump_core_and_abort(int target_sig) trace_user_force_sig(env, target_sig, host_sig); gdb_signalled(env, target_sig); + if (target_sig == 6) { + goto no_core; + } + /* dump core if supported by target binary format */ if (core_dump_signal(target_sig) && (ts->bprm->core_dump != NULL)) { stop_all_tasks(); @@ -751,6 +755,8 @@ static void QEMU_NORETURN dump_core_and_abort(int target_sig) target_sig, strsignal(host_sig), "core dumped" ); } +no_core: + /* The proper exit code for dying from an uncaught signal is * -<signal>. The kernel doesn't allow exit() or _exit() to pass * a negative value. To get the proper exit code we need to
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor