diff options
Diffstat (limited to 'security/selinux/hooks.c')
-rw-r--r-- | security/selinux/hooks.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/security/selinux/hooks.c b/security/selinux/hooks.c index 3ba5ce1f4e05..d37a72316e9d 100644 --- a/security/selinux/hooks.c +++ b/security/selinux/hooks.c | |||
@@ -6123,7 +6123,7 @@ static int selinux_key_getsecurity(struct key *key, char **_buffer) | |||
6123 | 6123 | ||
6124 | #endif | 6124 | #endif |
6125 | 6125 | ||
6126 | static struct security_hook_list selinux_hooks[] = { | 6126 | static struct security_hook_list selinux_hooks[] __lsm_ro_after_init = { |
6127 | LSM_HOOK_INIT(binder_set_context_mgr, selinux_binder_set_context_mgr), | 6127 | LSM_HOOK_INIT(binder_set_context_mgr, selinux_binder_set_context_mgr), |
6128 | LSM_HOOK_INIT(binder_transaction, selinux_binder_transaction), | 6128 | LSM_HOOK_INIT(binder_transaction, selinux_binder_transaction), |
6129 | LSM_HOOK_INIT(binder_transfer_binder, selinux_binder_transfer_binder), | 6129 | LSM_HOOK_INIT(binder_transfer_binder, selinux_binder_transfer_binder), |