- x86_64-dont-do-syscall-exit-tracing-twice.patch removed from -mm tree

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

 



The patch titled

     x86_64: Don't do syscall exit tracing twice

has been removed from the -mm tree.  Its filename is

     x86_64-dont-do-syscall-exit-tracing-twice.patch

This patch was probably dropped from -mm because
it has now been merged into a subsystem tree or
into Linus's tree, or because it was folded into
its parent patch in the -mm tree.

------------------------------------------------------
Subject: x86_64: Don't do syscall exit tracing twice
From: "Andi Kleen" <ak@xxxxxxx>


int_ret_from_syscall already does syscall exit tracing, so no need to do it
again in the caller.

This caused problems for UML and some other special programs doing syscall
interception.

Signed-off-by: Andi Kleen <ak@xxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxx>
---

 arch/x86_64/kernel/entry.S |    7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff -puN arch/x86_64/kernel/entry.S~x86_64-dont-do-syscall-exit-tracing-twice arch/x86_64/kernel/entry.S
--- devel/arch/x86_64/kernel/entry.S~x86_64-dont-do-syscall-exit-tracing-twice	2006-05-30 21:24:55.000000000 -0700
+++ devel-akpm/arch/x86_64/kernel/entry.S	2006-05-30 21:24:55.000000000 -0700
@@ -281,12 +281,7 @@ tracesys:			 
 	ja  1f
 	movq %r10,%rcx	/* fixup for C */
 	call *sys_call_table(,%rax,8)
-	movq %rax,RAX-ARGOFFSET(%rsp)
-1:	SAVE_REST
-	movq %rsp,%rdi
-	call syscall_trace_leave
-	RESTORE_TOP_OF_STACK %rbx
-	RESTORE_REST
+1:	movq %rax,RAX-ARGOFFSET(%rsp)
 	/* Use IRET because user could have changed frame */
 	jmp int_ret_from_sys_call
 	CFI_ENDPROC
_

Patches currently in -mm which might be from ak@xxxxxxx are

origin.patch
git-acpi.patch
x86_64-dont-warn-for-overflow-in-nommu-case-when-dma_mask-is-32bit-fix.patch

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux