public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Current utrace breaks UML
@ 2007-05-22 21:38 Jeff Dike
  2007-05-23  6:46 ` Roland McGrath
  0 siblings, 1 reply; 6+ messages in thread
From: Jeff Dike @ 2007-05-22 21:38 UTC (permalink / raw)
  To: Roland McGrath; +Cc: LKML

This chunk from linux-2.6-utrace.patch breaks PTRACE_SYSEMU, which UML
rather relies on.

@@ -514,9 +514,6 @@ syscall_trace_entry:
 	movl %esp, %eax
 	xorl %edx,%edx
 	call do_syscall_trace
-	cmpl $0, %eax
-	jne resume_userspace		# ret != 0 -> running under PTRACE_SYSEMU,
-					# so must skip actual syscall
 	movl PT_ORIG_EAX(%esp), %eax
 	cmpl $(nr_syscalls), %eax
 	jnae syscall_call

If the point of this patch was to completely remove ptrace support,
with later patches adding it back, then that chunk should be added
back in utrace-ptrace-compat.patch.

				Jeff

-- 
Work email - jdike at linux dot intel dot com

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2007-05-26  2:17 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-22 21:38 Current utrace breaks UML Jeff Dike
2007-05-23  6:46 ` Roland McGrath
2007-05-23 12:19   ` Jeff Dike
2007-05-26  1:35     ` Roland McGrath
2007-05-26  2:10       ` Jeff Dike
2007-05-23 12:20   ` Jeff Dike

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox