Re: [RFC PATCH 1/2] Fix 1 untangling ima mess, part 2 with counters

From: Al Viro
Date: Tue Jan 26 2010 - 11:27:44 EST


On Tue, Jan 26, 2010 at 10:16:55AM -0500, Mimi Zohar wrote:
> --- security-testing-2.6.orig/init/main.c
> +++ security-testing-2.6/init/main.c
> @@ -663,9 +663,9 @@ asmlinkage void __init start_kernel(void
> proc_caches_init();
> buffer_init();
> key_init();
> + radix_tree_init();
> security_init();
> vfs_caches_init(totalram_pages);
> - radix_tree_init();
> signals_init();
> /* rootfs populating might need page-writeback */
> page_writeback_init();

FWIW, I'd take radix_tree_init() much earlier than that; it's a common
infrastructure and if we have it early it'll mean less headache.

AFAICS, it can go right after mm_init(). Objections, anyone?

Other than that, I'm OK with that one.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/