Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262370AbVADVve (ORCPT ); Tue, 4 Jan 2005 16:51:34 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262378AbVADVsg (ORCPT ); Tue, 4 Jan 2005 16:48:36 -0500 Received: from facesaver.epoch.ncsc.mil ([144.51.25.10]:6376 "EHLO epoch.ncsc.mil") by vger.kernel.org with ESMTP id S262276AbVADVrN (ORCPT ); Tue, 4 Jan 2005 16:47:13 -0500 Subject: Re: [PATCH] split bprm_apply_creds into two functions From: Stephen Smalley To: "Serge E. Hallyn" Cc: Andrew Morton , Chris Wright , James Morris , linux-kernel In-Reply-To: <20050104183043.GA3592@IBM-BWN8ZTBWA01.austin.ibm.com> References: <20050104183043.GA3592@IBM-BWN8ZTBWA01.austin.ibm.com> Content-Type: text/plain Organization: National Security Agency Message-Id: <1104874872.20724.155.camel@moss-spartans.epoch.ncsc.mil> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 (1.4.6-2) Date: Tue, 04 Jan 2005 16:41:12 -0500 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 846 Lines: 24 On Tue, 2005-01-04 at 13:30, Serge E. Hallyn 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: Stephen Smalley -- Stephen Smalley National Security Agency - 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/