qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [BUG][PATCH] signal termination (48_signal_terminate.patch)


From: Thayne Harbaugh
Subject: [Qemu-devel] [BUG][PATCH] signal termination (48_signal_terminate.patch)
Date: Wed, 12 Dec 2007 12:37:38 -0700

Qemu doesn't exit with the proper code when dieing from an uncaught
signal.  Exit codes for uncaught signals are -<signum>.  Unfortunately
the kernel filters values from exit() and _exit().

A solution is to actually die from an uncaught signal.  This patch
detects an uncaught signal, installs the default handler, and then sends
itself the signal and waits for it.  It depends on the previous
48_signal_xlate.patch that I sent.

Attachment: 48_signal_terminate.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]