Re: [PATCH] Early init for security modules

From: Andi Kleen (ak@suse.de)
Date: Tue May 13 2003 - 00:28:33 EST


On Mon, May 12, 2003 at 10:20:00PM -0700, Chris Wright wrote:
> * 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.

I would give them a generic name then in case someone else needs that too,
like "early_initcalls"

May be useful for some architecture initialization for example.

-Andi
-
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/



This archive was generated by hypermail 2b29 : Thu May 15 2003 - 22:00:43 EST