Function report |
Source Code:kernel\livepatch\core.c |
Create Date:2022-07-28 10:30:40 |
| 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_object
Proto:static int klp_init_object(struct klp_patch *patch, struct klp_object *obj)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct klp_patch * | patch | |
| struct klp_object * | obj |
| 791 | If klp_is_module(obj) && strlen - Find the length of a string*@s: The string to be sized >= MODULE_NAME_LEN Then Return -EINVAL |
| 794 | patched = false |
| 795 | mod = NULL |
| 799 | name = If klp_is_module(obj) Then external Else "vmlinux" |
| 804 | klp_for_each_func(obj, func) |
| 810 | If klp_is_object_loaded(obj) Then ret = parts of the initialization that is done only when the object is loaded |
| 813 | Return ret |
| Name | Describe |
|---|---|
| klp_init_patch |
| 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 |