Function report | 
Source Code:kernel\livepatch\core.c | 
Create Date:2022-07-28 10:30:42 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:klp_init_patch_early
Proto:static int klp_init_patch_early(struct klp_patch *patch)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct klp_patch * | patch | 
| 842 | enabled = false | 
| 843 | forced = false | 
| 844 | INIT_WORK( & free_work, The livepatch might be freed from sysfs interface created by the patch.* This work allows to wait until the interface is destroyed in a separate* context.) | 
| 845 | init_completion( & finish) | 
| 851 | klp_init_object_early(patch, obj) | 
| 854 | klp_init_func_early(obj, func) | 
| 858 | If Not try_module_get(xternal ) Then Return -ENODEV | 
| 861 | Return 0 | 
| Name | Describe | 
|---|---|
| klp_enable_patch | klp_enable_patch() - enable the livepatch*@patch: patch to be enabled* Initializes the data structure associated with the patch, creates the sysfs* interface, performs the needed symbol lookups and code relocations, | 
| 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  |