Function report |
Source Code:kernel\livepatch\core.c |
Create Date:2022-07-28 10:30:51 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Remove parts of patches that touch a given kernel module. The list of* patches processed might be limited. When limit is NULL, all patches* will be handled.
Proto:static void klp_cleanup_module_patches_limited(struct module *mod, struct klp_patch *limit)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct module * | mod | |
struct klp_patch * | limit |
1110 | klp_for_each_patch(patch) |
1114 | klp_for_each_object(patch, obj) |
1115 | If Not klp_is_module(obj) || strcmp( external , Unique handle for this module ) Then Continue |
1118 | If patch != klp_transition_patch Then klp_pre_unpatch_callback(obj) |
1121 | pr_notice("reverting patch '%s' on unloading module '%s'\n", Unique handle for this module , Unique handle for this module ) |
1123 | klp_unpatch_object(obj) |
1125 | klp_post_unpatch_callback(obj) |
1128 | Break |
Name | Describe |
---|---|
klp_module_coming | |
klp_module_going |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |