diff options
Diffstat (limited to 'include/linux/module.h')
| -rw-r--r-- | include/linux/module.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/linux/module.h b/include/linux/module.h index fe5aa3736707..c69b49abe877 100644 --- a/include/linux/module.h +++ b/include/linux/module.h | |||
| @@ -639,6 +639,8 @@ static inline bool is_livepatch_module(struct module *mod) | |||
| 639 | } | 639 | } |
| 640 | #endif /* CONFIG_LIVEPATCH */ | 640 | #endif /* CONFIG_LIVEPATCH */ |
| 641 | 641 | ||
| 642 | bool is_module_sig_enforced(void); | ||
| 643 | |||
| 642 | #else /* !CONFIG_MODULES... */ | 644 | #else /* !CONFIG_MODULES... */ |
| 643 | 645 | ||
| 644 | static inline struct module *__module_address(unsigned long addr) | 646 | static inline struct module *__module_address(unsigned long addr) |
| @@ -753,6 +755,11 @@ static inline bool module_requested_async_probing(struct module *module) | |||
| 753 | return false; | 755 | return false; |
| 754 | } | 756 | } |
| 755 | 757 | ||
| 758 | static inline bool is_module_sig_enforced(void) | ||
| 759 | { | ||
| 760 | return false; | ||
| 761 | } | ||
| 762 | |||
| 756 | #endif /* CONFIG_MODULES */ | 763 | #endif /* CONFIG_MODULES */ |
| 757 | 764 | ||
| 758 | #ifdef CONFIG_SYSFS | 765 | #ifdef CONFIG_SYSFS |
