[PATCH 1/3] module: add an early early_mod_check()

2017-12-07 Thread Luis R. Rodriguez
We technically do a bit of sanity check with a local struct module with pointers set to passed user data first. Only after we do these checks do we embark on allocating a struct module based on the passed information. There's a small set of early checks which help us bail out from processing and

[PATCH 1/3] module: add an early early_mod_check()

2017-12-07 Thread Luis R. Rodriguez
We technically do a bit of sanity check with a local struct module with pointers set to passed user data first. Only after we do these checks do we embark on allocating a struct module based on the passed information. There's a small set of early checks which help us bail out from processing and