函数逻辑报告 |
Source Code:kernel\livepatch\core.c |
Create Date:2022-07-27 11:30:33 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:klp_init_patch_early
函数原型:static int klp_init_patch_early(struct klp_patch *patch)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct klp_patch * | patch |
839 | 初始化链表头 |
840 | 初始化链表头 |
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 | 如果非判断模块是否处于活动状态则返回:负ENODEV |
861 | 返回:0 |
名称 | 描述 |
---|---|
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, |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |