diff options
Diffstat (limited to 'include/linux/lsm_hooks.h')
-rw-r--r-- | include/linux/lsm_hooks.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/include/linux/lsm_hooks.h b/include/linux/lsm_hooks.h index fb1a653ccfcb..2849e9b2c01d 100644 --- a/include/linux/lsm_hooks.h +++ b/include/linux/lsm_hooks.h | |||
@@ -2090,10 +2090,5 @@ static inline void security_delete_hooks(struct security_hook_list *hooks, | |||
2090 | #endif /* CONFIG_SECURITY_WRITABLE_HOOKS */ | 2090 | #endif /* CONFIG_SECURITY_WRITABLE_HOOKS */ |
2091 | 2091 | ||
2092 | extern void __init capability_add_hooks(void); | 2092 | extern void __init capability_add_hooks(void); |
2093 | #ifdef CONFIG_SECURITY_YAMA | ||
2094 | extern void __init yama_add_hooks(void); | ||
2095 | #else | ||
2096 | static inline void __init yama_add_hooks(void) { } | ||
2097 | #endif | ||
2098 | 2093 | ||
2099 | #endif /* ! __LINUX_LSM_HOOKS_H */ | 2094 | #endif /* ! __LINUX_LSM_HOOKS_H */ |