Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750880AbWCaFuv (ORCPT ); Fri, 31 Mar 2006 00:50:51 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1750920AbWCaFuu (ORCPT ); Fri, 31 Mar 2006 00:50:50 -0500 Received: from 216-99-217-87.dsl.aracnet.com ([216.99.217.87]:11139 "EHLO sorel.sous-sol.org") by vger.kernel.org with ESMTP id S1750873AbWCaFuu (ORCPT ); Fri, 31 Mar 2006 00:50:50 -0500 Date: Thu, 30 Mar 2006 21:51:59 -0800 From: Chris Wright To: "Eric W. Biederman" Cc: Chris Wright , "Serge E. Hallyn" , David Lang , Sam Vilain , Nick Piggin , Herbert Poetzl , Bill Davidsen , Linux Kernel ML Subject: Re: [RFC] Virtualization steps Message-ID: <20060331055159.GG15997@sorel.sous-sol.org> References: <442B0BFE.9080709@vilain.net> <20060329225241.GO15997@sorel.sous-sol.org> <20060330013618.GS15997@sorel.sous-sol.org> <20060330020445.GT15997@sorel.sous-sol.org> <20060330143224.GC6933@sergelap.austin.ibm.com> <20060330190758.GY15997@sorel.sous-sol.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 917 Lines: 22 * Eric W. Biederman (ebiederm@xmission.com) wrote: > Very simple, it should be possible statically compile in > all of the security modules and be able to pick at run time which > security module to use. > > Unless I have been very blind and missed something skimming > through the code compiling if I compile in all of the security > modules, whichever one is initialized first is the one > that we will use. I see. No, you got that correct. That's rather intentional, to make sure all objects are properly initialized as they are allocated rather than having to double check at every access control check. That's why security_initcalls are so early. thanks, -chris - 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/