Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262645AbVAEXOl (ORCPT ); Wed, 5 Jan 2005 18:14:41 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262651AbVAEXOl (ORCPT ); Wed, 5 Jan 2005 18:14:41 -0500 Received: from fw.osdl.org ([65.172.181.6]:35304 "EHLO mail.osdl.org") by vger.kernel.org with ESMTP id S262645AbVAEXOh (ORCPT ); Wed, 5 Jan 2005 18:14:37 -0500 Date: Wed, 5 Jan 2005 15:14:34 -0800 From: Chris Wright To: "Serge E. Hallyn" Cc: Andrew Morton , Chris Wright , Stephen Smalley , James Morris , linux-kernel Subject: Re: [PATCH] split bprm_apply_creds into two functions Message-ID: <20050105151434.B2357@build.pdx.osdl.net> References: <20050104183043.GA3592@IBM-BWN8ZTBWA01.austin.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20050104183043.GA3592@IBM-BWN8ZTBWA01.austin.ibm.com>; from serue@us.ibm.com on Tue, Jan 04, 2005 at 12:30:43PM -0600 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 859 Lines: 24 * Serge E. Hallyn (serue@us.ibm.com) wrote: > The following patch splits bprm_apply_creds into two functions, > bprm_apply_creds and bprm_post_apply_creds. The latter is called > after the task_lock has been dropped. Without this patch, SELinux > must drop the task_lock and re-acquire it during apply_creds, making > the 'unsafe' flag meaningless to any later security modules. Please > apply. > > thanks, > -serge > > Signed-off-by: Serge Hallyn Signed-off-by: Chris Wright thanks, -chris -- Linux Security Modules http://lsm.immunix.org http://lsm.bkbits.net - 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/