Thanks to Michael Kerrisk for keeping us honest. These flags are actually useful for eliminating the only case where kmod has to mangle a module's internals: for overriding module versioning.
Showing the changes to include/uapi/linux (1 of 3 files). Show all
Unified · Split
| @@ -0,0 +1,8 @@ | |||
| 1 | #ifndef _UAPI_LINUX_MODULE_H | ||
| 2 | #define _UAPI_LINUX_MODULE_H | ||
| 3 | |||
| 4 | /* Flags for sys_finit_module: */ | ||
| 5 | #define MODULE_INIT_IGNORE_MODVERSIONS 1 | ||
| 6 | #define MODULE_INIT_IGNORE_VERMAGIC 2 | ||
| 7 | |||
| 8 | #endif /* _UAPI_LINUX_MODULE_H */ | ||