[PATCH v2 1/1] security: Reordering the boot message security framework 2.6.37-rc1

From: André Luis Pereira dos Santos - BSRSoft
Date: Thu Nov 04 2010 - 15:06:07 EST


From: Andre Luis Pereira dos Santos <andre@xxxxxxxxxxxxxx>

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 <andre@xxxxxxxxxxxxxx>
---

Signed-off-by: Andre Luis Pereira dos Santos <andre@xxxxxxxxxxxxxx>
--- linux-2.6.37-rc1/security/security.c 2010-11-01 09:54:12.000000000 -0200
+++ linux-2.6.37-rc1-patched/security/security.c 2010-11-04 15:04:04.000000000 -0200
@@ -56,12 +56,12 @@ 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;
}



--
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/