aboutsummaryrefslogtreecommitdiff
path: root/kernel/module-whitelist.h
blob: 31795235097dfd9778af07705aba8d3a17a68542 (plain)
1
2
3
4
5
6
7
8
9
10
#include <linux/module.h>

#ifdef CONFIG_MODULE_WHITELIST
int check_module_hash(const Elf_Ehdr *hdr, unsigned long len);
#else
static inline int check_module_hash(const Elf_Ehdr *hdr, unsigned long len)
{
	return 0;
}
#endif