Re: [PATCH] Early init for security modules

Andi Kleen
2003-05-13T04:50:53Z

On Mon, May 12, 2003 at 08:15:18PM -0700, Chris Wright wrote:
> * Chris Wright (chris@wirex.com) wrote:
> > As discussed before, here is a simple patch to allow for early
> > initialization of security modules when compiled statically into the
> > kernel. The standard do_initcalls is too late for complete coverage of
> > all filesystems and threads for example. If this looks OK, I'd like to
> > push it on to Linus. Patch is against 2.5.69-bk. It is tested on i386,
> > and various arch maintainers are copied on relevant bits of patch.
>
> This is just the arch specific linker bits for the early initialization
> for security modules patch. Does this look sane for this arch?

It would work for x86-64. But why can't you use core_initcall() or
postcore_initcall() ?

-Andi