From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L5j4Y-00060A-95 for qemu-devel@nongnu.org; Thu, 27 Nov 2008 10:46:30 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L5j4V-0005yb-Qa for qemu-devel@nongnu.org; Thu, 27 Nov 2008 10:46:28 -0500 Received: from [199.232.76.173] (port=37349 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L5j4V-0005yV-J4 for qemu-devel@nongnu.org; Thu, 27 Nov 2008 10:46:27 -0500 Received: from savannah.gnu.org ([199.232.41.3]:39845 helo=sv.gnu.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1L5j4V-0001rv-1i for qemu-devel@nongnu.org; Thu, 27 Nov 2008 10:46:27 -0500 Received: from cvs.savannah.gnu.org ([199.232.41.69]) by sv.gnu.org with esmtp (Exim 4.63) (envelope-from ) id 1L5j4U-00060R-3n for qemu-devel@nongnu.org; Thu, 27 Nov 2008 15:46:26 +0000 Received: from ths by cvs.savannah.gnu.org with local (Exim 4.63) (envelope-from ) id 1L5j4T-00060N-Qt for qemu-devel@nongnu.org; Thu, 27 Nov 2008 15:46:25 +0000 MIME-Version: 1.0 Errors-To: ths Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From: Thiemo Seufer Message-Id: Date: Thu, 27 Nov 2008 15:46:25 +0000 Subject: [Qemu-devel] [5801] linux-user: sig is target signal. Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Revision: 5801 http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=5801 Author: ths Date: 2008-11-27 15:46:25 +0000 (Thu, 27 Nov 2008) Log Message: ----------- linux-user: sig is target signal. Signed-off-by: Riku Voipio Modified Paths: -------------- trunk/linux-user/signal.c Modified: trunk/linux-user/signal.c =================================================================== --- trunk/linux-user/signal.c 2008-11-27 15:45:16 UTC (rev 5800) +++ trunk/linux-user/signal.c 2008-11-27 15:46:25 UTC (rev 5801) @@ -502,7 +502,7 @@ int host_sig; int ret = 0; - if (sig < 1 || sig > TARGET_NSIG || sig == SIGKILL || sig == SIGSTOP) + if (sig < 1 || sig > TARGET_NSIG || sig == TARGET_SIGKILL || sig == TARGET_SIGSTOP) return -EINVAL; k = &sigact_table[sig - 1]; #if defined(DEBUG_SIGNAL)