Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262042AbTEMFIF (ORCPT ); Tue, 13 May 2003 01:08:05 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262864AbTEMFIE (ORCPT ); Tue, 13 May 2003 01:08:04 -0400 Received: from cerebus.wirex.com ([65.102.14.138]:45560 "EHLO figure1.int.wirex.com") by vger.kernel.org with ESMTP id S262042AbTEMFIE (ORCPT ); Tue, 13 May 2003 01:08:04 -0400 Date: Mon, 12 May 2003 22:20:00 -0700 From: Chris Wright To: Andi Kleen Cc: linux-kernel@vger.kernel.org, hch@infradead.org, greg@kroah.com, linux-security-module@wirex.com Subject: Re: [PATCH] Early init for security modules Message-ID: <20030512222000.A21486@figure1.int.wirex.com> Mail-Followup-To: Andi Kleen , linux-kernel@vger.kernel.org, hch@infradead.org, greg@kroah.com, linux-security-module@wirex.com References: <20030512200309.C20068@figure1.int.wirex.com> <20030512201518.X19432@figure1.int.wirex.com> <20030513050336.GA10596@Wotan.suse.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20030513050336.GA10596@Wotan.suse.de>; from ak@suse.de on Tue, May 13, 2003 at 07:03:36AM +0200 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 759 Lines: 19 * Andi Kleen (ak@suse.de) wrote: > > It would work for x86-64. But why can't you use core_initcall() or > postcore_initcall() ? This is too late. Those are just for order in do_initcalls() which is well after some kernel threads have been created and filesystems have been mounted, etc. This patch allows statically linked modules to catch the creation of such kernel objects and give them all consistent labels. 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/