diff options
Diffstat (limited to 'security')
-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 c477fb673701..afd9679ca866 100644 --- a/security/commoncap.c +++ b/security/commoncap.c | |||
@@ -1344,7 +1344,7 @@ int cap_mmap_file(struct file *file, unsigned long reqprot, | |||
1344 | 1344 | ||
1345 | #ifdef CONFIG_SECURITY | 1345 | #ifdef CONFIG_SECURITY |
1346 | 1346 | ||
1347 | struct security_hook_list capability_hooks[] __lsm_ro_after_init = { | 1347 | static struct security_hook_list capability_hooks[] __lsm_ro_after_init = { |
1348 | LSM_HOOK_INIT(capable, cap_capable), | 1348 | LSM_HOOK_INIT(capable, cap_capable), |
1349 | LSM_HOOK_INIT(settime, cap_settime), | 1349 | LSM_HOOK_INIT(settime, cap_settime), |
1350 | LSM_HOOK_INIT(ptrace_access_check, cap_ptrace_access_check), | 1350 | LSM_HOOK_INIT(ptrace_access_check, cap_ptrace_access_check), |