Function report |
Source Code:kernel\livepatch\transition.c |
Create Date:2022-07-28 10:32:07 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Start the transition to the specified target patch state so tasks can begin* switching to it.
Proto:void klp_start_transition(void)
Type:void
Parameter:Nothing
468 | WARN_ON_ONCE(klp_target_state == ask patch states ) |
470 | pr_notice("'%s': starting %s transition\n", Unique handle for this module , klp_target_state == KLP_PATCHED ? "patching" : "unpatching") |
479 | read_lock( & tasklist_lock) |
481 | If patch_state != klp_target_state Then Set thread flags in other task's structures.* See asm/thread_info.h for TIF_xxxx flags available: |
483 | read_unlock( & tasklist_lock) |
490 | for_each_possible_cpu(cpu) |
496 | klp_signals_cnt = 0 |
Name | Describe |
---|---|
__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/ |
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 |