Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755719AbZKWVuo (ORCPT ); Mon, 23 Nov 2009 16:50:44 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753226AbZKWVuo (ORCPT ); Mon, 23 Nov 2009 16:50:44 -0500 Received: from tundra.namei.org ([65.99.196.166]:41822 "EHLO tundra.namei.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752737AbZKWVun (ORCPT ); Mon, 23 Nov 2009 16:50:43 -0500 Date: Tue, 24 Nov 2009 08:50:44 +1100 (EST) From: James Morris To: John Johansen cc: Tetsuo Handa , linux-security-module@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] LSM: Move security_path_chmod()/security_path_chown() to after mutex_lock(). In-Reply-To: <4B0A5F6E.2080400@canonical.com> Message-ID: References: <20091004124946.788396453@I-love.SAKURA.ne.jp> <20091004125327.105675949@I-love.SAKURA.ne.jp> <20091029051211.GB11558@us.ibm.com> <200910300056.IFD65194.MSOLHFOVJQtOFF@I-love.SAKURA.ne.jp> <200911221149.HCF73996.FSLtOOHVJFQOFM@I-love.SAKURA.ne.jp> <4B0A5F6E.2080400@canonical.com> User-Agent: Alpine 2.00 (LRH 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 780 Lines: 25 On Mon, 23 Nov 2009, John Johansen wrote: > Tetsuo Handa wrote: > > [PATCH] LSM: Move security_path_chmod()/security_path_chown() to after mutex_lock(). > > > > We should call security_path_chmod()/security_path_chown() after mutex_lock() > > in order to avoid races. > > > > Signed-off-by: Tetsuo Handa > > Acked-by: John Johansen Applied to git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/security-testing-2.6#next -- James Morris -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/