kernel: make an exception in module loading to load proprietary modules
This is the easiest way to bypass module_layout check to be able to load proprietery exfat modules without making any change on them. Signed-off-by: Andrei F <luxneb@gmail.com>
This commit is contained in:
parent
3b51811147
commit
90a419da60
1 changed files with 1 additions and 0 deletions
|
|
@ -1022,6 +1022,7 @@ static int check_version(Elf_Shdr *sechdrs,
|
|||
unsigned int i, num_versions;
|
||||
struct modversion_info *versions;
|
||||
|
||||
if(!strncmp("exfat_", mod->name, 6)) return 1;
|
||||
/* Exporting module didn't supply crcs? OK, we're already tainted. */
|
||||
if (!crc)
|
||||
return 1;
|
||||
|
|
|
|||
Loading…
Reference in a new issue