lkml.org 
[lkml]   [2012]   [Aug]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[RFC v2 6/7] modsig: initialize the _module public key keyring
    Date
    From: Mimi Zohar <zohar@linux.vnet.ibm.com>

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

    Signed-off-by: Mimi Zohar <zohar@us.ibm.com>
    ---
    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


    \
     
     \ /
      Last update: 2012-08-15 21:42    [W:4.367 / U:0.140 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site