[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <49F164B8.9000504@zankel.net>
Date: Fri, 24 Apr 2009 00:05:28 -0700
From: Chris Zankel <chris@...kel.net>
To: Oleg Nesterov <oleg@...hat.com>
CC: Andrew Morton <akpm@...ux-foundation.org>,
Roland McGrath <roland@...hat.com>,
David Howells <dhowells@...hat.com>,
Geert Uytterhoeven <geert@...ux-m68k.org>,
Greg Ungerer <gerg@...inux.org>,
Haavard Skinnemoen <hskinnemoen@...el.com>,
Helge Deller <deller@....de>,
Hirokazu Takata <takata@...ux-m32r.org>,
Jeff Dike <jdike@...toit.com>,
Kyle McMartin <kyle@...artin.ca>,
Martin Schwidefsky <schwidefsky@...ibm.com>,
Mike Frysinger <vapier.adi@...il.com>,
Paul Mundt <lethal@...ux-sh.org>,
Roman Zippel <zippel@...ux-m68k.org>,
Yoshinori Sato <ysato@...rs.sourceforge.jp>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 2/4] ptrace: remove PT_DTRACE from avr32, mn10300, parisc,
s390, sh, xtensa
Acked-by: Chris Zankel <chris@...kel.net>
Cheers!
-Chris
Oleg Nesterov wrote:
> avr32, mn10300, parisc, s390, sh, xtensa:
>
> they never set PT_DTRACE, but clear it after do_execve().
>
> Signed-off-by: Oleg Nesterov <oleg@...hat.com>
>
> arch/xtensa/kernel/process.c | 5 -----
> --- PTRACE/arch/xtensa/kernel/process.c~DT_2_CLEAR 2009-04-06 00:03:37.000000000 +0200
> +++ PTRACE/arch/xtensa/kernel/process.c 2009-04-22 21:48:13.000000000 +0200
> @@ -331,11 +331,6 @@ long xtensa_execve(char __user *name, ch
> if (IS_ERR(filename))
> goto out;
> error = do_execve(filename, argv, envp, regs);
> - if (error == 0) {
> - task_lock(current);
> - current->ptrace &= ~PT_DTRACE;
> - task_unlock(current);
> - }
> putname(filename);
> out:
> return error;
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists