* 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?
--- 1.10/arch/sh/vmlinux.lds.S Fri Feb 14 15:11:24 2003
+++ edited/arch/sh/vmlinux.lds.S Mon May 12 16:17:00 2003
@@ -71,6 +71,9 @@
__con_initcall_start = .;
.con_initcall.init : { *(.con_initcall.init) }
__con_initcall_end = .;
+ __security_initcall_start = .;
+ .security_initcall.init : { *(.security_initcall.init) }
+ __security_initcall_end = .;
__machvec_start = .;
.machvec.init : { *(.machvec.init) }
__machvec_end = .;
-
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