Re: [PATCH] Early init for security modules

Chris Wright
2003-05-13T05:08:05Z

* 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