函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\livepatch\core.c Create Date:2022-07-27 11:30:39
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:This function unpatches objects from the replaced livepatches.* We could be pretty aggressive here. It is called in the situation where* these structures are no longer accessed from the ftrace handler.

函数原型:void klp_unpatch_replaced_patches(struct klp_patch *new_patch)

返回类型:void

参数:

类型参数名称
struct klp_patch *new_patch
1068  klp_for_each_patch(old_patch)
1069  如果old_patch恒等于new_patch则返回
1072  enabled = false
1073  klp_unpatch_objects(old_patch)
调用者
名称描述
klp_complete_transitionThe transition to the target patch state is complete. Clean up the data* structures.