X-Git-Url: http://git.monstr.eu/?a=blobdiff_plain;f=security%2Floadpin%2Floadpin.c;h=ebae964f7cc9a47e020ef0f08f3f6139bd204f91;hb=888d3c9f7f3ae44101a3fd76528d3dd6f96e9fd0;hp=c971464b4ad5ab99e8479be78948cb3d9b984cf1;hpb=e3184de9d46c2eebdb776face2e2662c6733331d;p=linux-2.6-microblaze.git diff --git a/security/loadpin/loadpin.c b/security/loadpin/loadpin.c index c971464b4ad5..ebae964f7cc9 100644 --- a/security/loadpin/loadpin.c +++ b/security/loadpin/loadpin.c @@ -208,7 +208,7 @@ static int loadpin_load_data(enum kernel_load_data_id id, bool contents) return loadpin_check(NULL, (enum kernel_read_file_id) id); } -static struct security_hook_list loadpin_hooks[] __lsm_ro_after_init = { +static struct security_hook_list loadpin_hooks[] __ro_after_init = { LSM_HOOK_INIT(sb_free_security, loadpin_sb_free_security), LSM_HOOK_INIT(kernel_read_file, loadpin_read_file), LSM_HOOK_INIT(kernel_load_data, loadpin_load_data),