函数逻辑报告 |
Source Code:kernel\livepatch\transition.c |
Create Date:2022-07-27 11:31:57 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Start the transition to the specified target patch state so tasks can begin* switching to it.
函数原型:void klp_start_transition(void)
返回类型:void
参数:无
468 | WARN_ON_ONCE(klp_target_state == ask patch states ) |
470 | 打印注释信息("'%s': starting %s transition\n", Unique handle for this module , klp_target_state == KLP_PATCHED ? "patching" : "unpatching") |
479 | read_lock( & tasklist_lock) |
481 | 如果patch_state不等于klp_target_state则Set thread flags in other task's structures.* See asm/thread_info.h for TIF_xxxx flags available: |
483 | read_unlock( & tasklist_lock) |
496 | klp_signals_cnt等于0 |
名称 | 描述 |
---|---|
__klp_enable_patch | |
klp_reverse_transition | This function can be called in the middle of an existing transition to* reverse the direction of the target patch state. This can be done to* effectively cancel an existing enable or disable operation if there are any |
__klp_disable_patch | Sysfs Interface* /sys/kernel/livepatch* /sys/kernel/livepatch/ |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |