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: <alpine.LRH.2.00.0907130811380.29074@tundra.namei.org>
Date:	Mon, 13 Jul 2009 08:12:13 +1000 (EST)
From:	James Morris <jmorris@...ei.org>
To:	David Howells <dhowells@...hat.com>
cc:	Oleg Nesterov <oleg@...hat.com>,
	Christoph Hellwig <hch@...radead.org>,
	Andrew Morton <akpm@...ux-foundation.org>,
	"Paul E. McKenney" <paulmck@...ux.vnet.ibm.com>,
	Roland McGrath <roland@...hat.com>,
	Stephen Smalley <sds@...ho.nsa.gov>,
	linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2 -mm 2/2] current_is_single_threaded: don't use
 ->mmap_sem

On Fri, 10 Jul 2009, David Howells wrote:

> > However we can avoid ->mmap_sem and rely on rcu/barriers:
> > 
> > 	- if we do not see the exiting parent on thread/process list
> > 	  we see the result of list_del_rcu(), in this case we must
> > 	  also see the result of list_add_rcu() which does wmb().
> > 
> > 	- if we do see the parent but its ->mm == NULL, we need rmb()
> > 	  to make sure we can't miss the child.
> > 
> > Signed-off-by: Oleg Nesterov <oleg@...hat.com>
> 
> Acked-by: David Howells <dhowells@...hat.com>

I gather this stuff is going into -mm ?

Can it be merged via security-testing#next?

-- 
James Morris
<jmorris@...ei.org>
--
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