LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [PATCH] x86_64 sys32_execve PT_DTRACE
@ 2008-03-17  5:00 Roland McGrath
  2008-03-21 10:32 ` Ingo Molnar
  0 siblings, 1 reply; 2+ messages in thread
From: Roland McGrath @ 2008-03-17  5:00 UTC (permalink / raw)
  To: Ingo Molnar, Thomas Gleixner; +Cc: Andrew Morton, linux-kernel


The PT_DTRACE flag is meaningless and obsolete.
Don't touch it.

Signed-off-by: Roland McGrath <roland@redhat.com>
---
 arch/x86/ia32/sys_ia32.c |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)

diff --git a/arch/x86/ia32/sys_ia32.c b/arch/x86/ia32/sys_ia32.c
index abf71d2..fa47939 100644
--- a/arch/x86/ia32/sys_ia32.c
+++ b/arch/x86/ia32/sys_ia32.c
@@ -804,11 +804,6 @@ asmlinkage long sys32_execve(char __user *name, compat_uptr_t __user *argv,
 	if (IS_ERR(filename))
 		return error;
 	error = compat_do_execve(filename, argv, envp, regs);
-	if (error == 0) {
-		task_lock(current);
-		current->ptrace &= ~PT_DTRACE;
-		task_unlock(current);
-	}
 	putname(filename);
 	return error;
 }

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

* Re: [PATCH] x86_64 sys32_execve PT_DTRACE
  2008-03-17  5:00 [PATCH] x86_64 sys32_execve PT_DTRACE Roland McGrath
@ 2008-03-21 10:32 ` Ingo Molnar
  0 siblings, 0 replies; 2+ messages in thread
From: Ingo Molnar @ 2008-03-21 10:32 UTC (permalink / raw)
  To: Roland McGrath; +Cc: Thomas Gleixner, Andrew Morton, linux-kernel


* Roland McGrath <roland@redhat.com> wrote:

> The PT_DTRACE flag is meaningless and obsolete.
> Don't touch it.

thanks, applied.

	Ingo

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

end of thread, other threads:[~2008-03-21 10:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-03-17  5:00 [PATCH] x86_64 sys32_execve PT_DTRACE Roland McGrath
2008-03-21 10:32 ` Ingo Molnar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).