[RFC v2 6/7] modsig: initialize the _module public key keyring

From: Dmitry Kasatkin
Date: Wed Aug 15 2012 - 14:49:22 EST


From: Mimi Zohar <zohar@xxxxxxxxxxxxxxxxxx>

Create and initialize the _module public key keyring with the builtin
public key.

Signed-off-by: Mimi Zohar <zohar@xxxxxxxxxx>
---
security/integrity/module.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/security/integrity/module.c b/security/integrity/module.c
index b0e9ba2..f696a9d 100644
--- a/security/integrity/module.c
+++ b/security/integrity/module.c
@@ -82,7 +82,7 @@ err1:

static int __init module_check_init(void)
{
- return 0;
+ return integrity_init_keyring(INTEGRITY_KEYRING_MODULE);
}

late_initcall(module_check_init);
--
1.7.9.5

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