-
Notifications
You must be signed in to change notification settings - Fork 336
Closed
Description
Currently KPATCH_FORCE_UNSAFE can be pretty annoying, because you can disable it but you can never rmmod it. Which means that future "kpatch load"s of the same module will always fail. It would be nice if we had the capability to re-enable a disabled but still insmodded patch, to allow re-applying a forced patch.
Not sure what the user interface should look like. Maybe "kpatch enable" which writes 1 to the "enabled" sysfs file. Or another option would be to have "kpatch load" detect somehow that the module file is identical to the one that's already been loaded, and then it would just write to the sysfs file instead of insmod.
Metadata
Metadata
Assignees
Labels
No labels