lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20070407105328.836902d1.akpm@linux-foundation.org>
Date:	Sat, 7 Apr 2007 10:53:28 -0700
From:	Andrew Morton <akpm@...ux-foundation.org>
To:	Michal Piotrowski <michal.k.k.piotrowski@...il.com>
Cc:	LKML <linux-kernel@...r.kernel.org>,
	Roland McGrath <roland@...hat.com>
Subject: Re: mm snapshot broken-out-2007-04-07-03-27.tar.gz uploaded

On Sat, 07 Apr 2007 14:30:04 +0200 Michal Piotrowski <michal.k.k.piotrowski@...il.com> wrote:

> akpm@...ux-foundation.org napisaƂ(a):
> > The mm snapshot broken-out-2007-04-07-03-27.tar.gz has been uploaded to
> > 
> >    ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/mm/broken-out-2007-04-07-03-27.tar.gz
> > 
> > It contains the following patches against 2.6.21-rc6:
> > 
> 
> LTP triggered a ptrace problem.
> 
> ------------[ cut here ]------------
> kernel BUG at kernel/ptrace.c:1281!

umm, Roland, if you're going to add assertions which only function with
CONFIG_PREEMPT enabled, you'd better test with CONFIG_PREEMPT enabled ;)


From: Andrew Morton <akpm@...ux-foundation.org>

We hold read_lock(tasklist_lock) in here.

Cc: Roland McGrath <roland@...hat.com>
Signed-off-by: Andrew Morton <akpm@...ux-foundation.org>
---

 kernel/ptrace.c |    2 --
 1 file changed, 2 deletions(-)

diff -puN kernel/ptrace.c~utrace-fix-bug kernel/ptrace.c
--- a/kernel/ptrace.c~utrace-fix-bug
+++ a/kernel/ptrace.c
@@ -1278,8 +1278,6 @@ found:
 		 current->pid, tsk->pid, p->pid, exit_code,
 		 p->exit_state, p->exit_signal);
 
-	NO_LOCKS;
-
 	/*
 	 * If there was a group exit in progress, all threads report that
 	 * status.  Most will have SIGKILL in their own exit_code.
_


-
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ