diff options
Diffstat (limited to 'security/commoncap.c')
-rw-r--r-- | security/commoncap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/security/commoncap.c b/security/commoncap.c index 78b37838a2d3..7abebd782d5e 100644 --- a/security/commoncap.c +++ b/security/commoncap.c | |||
@@ -1071,7 +1071,7 @@ int cap_mmap_file(struct file *file, unsigned long reqprot, | |||
1071 | 1071 | ||
1072 | #ifdef CONFIG_SECURITY | 1072 | #ifdef CONFIG_SECURITY |
1073 | 1073 | ||
1074 | struct security_hook_list capability_hooks[] = { | 1074 | struct security_hook_list capability_hooks[] __lsm_ro_after_init = { |
1075 | LSM_HOOK_INIT(capable, cap_capable), | 1075 | LSM_HOOK_INIT(capable, cap_capable), |
1076 | LSM_HOOK_INIT(settime, cap_settime), | 1076 | LSM_HOOK_INIT(settime, cap_settime), |
1077 | LSM_HOOK_INIT(ptrace_access_check, cap_ptrace_access_check), | 1077 | LSM_HOOK_INIT(ptrace_access_check, cap_ptrace_access_check), |