diff mbox

[3.5.y.z,extended,stable] Patch "sparc32: Fix exit flag passed from traced sys_sigreturn" has been added to staging queue

Message ID 1381487059-25809-1-git-send-email-luis.henriques@canonical.com
State New
Headers show

Commit Message

Luis Henriques Oct. 11, 2013, 10:24 a.m. UTC
This is a note to let you know that I have just added a patch titled

    sparc32: Fix exit flag passed from traced sys_sigreturn

to the linux-3.5.y-queue branch of the 3.5.y.z extended stable tree 
which can be found at:

 http://kernel.ubuntu.com/git?p=ubuntu/linux.git;a=shortlog;h=refs/heads/linux-3.5.y-queue

If you, or anyone else, feels it should not be added to this tree, please 
reply to this email.

For more information about the 3.5.y.z tree, see
https://wiki.ubuntu.com/Kernel/Dev/ExtendedStable

Thanks.
-Luis

------

From 13abeb87e70f45aa42644e966bc1562f3c4aeaaf Mon Sep 17 00:00:00 2001
From: Kirill Tkhai <tkhai@yandex.ru>
Date: Fri, 26 Jul 2013 01:17:15 +0400
Subject: [PATCH] sparc32: Fix exit flag passed from traced sys_sigreturn

commit 7a3b0f89e3fea680f93932691ca41a68eee7ab5e upstream.

Pass 1 in %o1 to indicate that syscall_trace accounts exit.

Signed-off-by: Kirill Tkhai <tkhai@yandex.ru>
CC: David Miller <davem@davemloft.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Luis Henriques <luis.henriques@canonical.com>
---
 arch/sparc/kernel/entry.S | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--
1.8.3.2
diff mbox

Patch

diff --git a/arch/sparc/kernel/entry.S b/arch/sparc/kernel/entry.S
index dcaa1cf..1670d10 100644
--- a/arch/sparc/kernel/entry.S
+++ b/arch/sparc/kernel/entry.S
@@ -860,7 +860,7 @@  sys_sigreturn:
 	 nop

 	call	syscall_trace
-	 nop
+	 mov	1, %o1

 1:
 	/* We don't want to muck with user registers like a