/* Flags to kmod_module_probe_insert_module() */
enum kmod_probe {
- KMOD_PROBE_FORCE_VERMAGIC = 0x01,
- KMOD_PROBE_FORCE_MODVERSION = 0x02,
- KMOD_PROBE_IGNORE_COMMAND = 0x04,
+ KMOD_PROBE_FORCE_VERMAGIC = 0x00001,
+ KMOD_PROBE_FORCE_MODVERSION = 0x00002,
+ KMOD_PROBE_IGNORE_COMMAND = 0x00004,
/* codes below can be used in return value, too */
- KMOD_PROBE_APPLY_BLACKLIST_ALL = 0x08,
- KMOD_PROBE_APPLY_BLACKLIST = 0x0F,
- KMOD_PROBE_STOP_ON_COMMAND = 0x10,
- KMOD_PROBE_STOP_ON_ALREADY_LOADED = 0x20,
+ KMOD_PROBE_APPLY_BLACKLIST_ALL = 0x10000,
+ KMOD_PROBE_APPLY_BLACKLIST = 0x20000,
+ KMOD_PROBE_STOP_ON_COMMAND = 0x40000,
+ KMOD_PROBE_STOP_ON_ALREADY_LOADED = 0x80000,
};
/*