Subject: [PATCH 1/1] security: Reordering the boot message security framework

From: Andre Luis Pereira dos Santos <[email protected]>

Hi.
I did the reorganization of the boot message security framework so that it is not issued before the start in fact occur:

Signed-off-by: Andre Luis Pereira dos Santos <[email protected]>
---

Signed-off-by: Andre Luis Pereira dos Santos <[email protected]>
--- linux-2.6.36/security/security.c 2010-10-20 18:30:22.000000000 -0200
+++ linux-2.6.36-patched/security/security.c 2010-11-04 12:20:04.000000000 -0200
@@ -56,12 +56,13 @@ static void __init do_security_initcalls
*/
int __init security_init(void)
{
- printk(KERN_INFO "Security Framework initialized\n");

security_fixup_ops(&default_security_ops);
security_ops = &default_security_ops;
do_security_initcalls();

+ printk(KERN_INFO "Security Framework initialized\n");
+
return 0;
}