Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\livepatch\core.c Create Date:2022-07-28 10:30:49
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name: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.

Proto:void klp_unpatch_replaced_patches(struct klp_patch *new_patch)

Type:void

Parameter:

TypeParameterName
struct klp_patch *new_patch
1068  klp_for_each_patch(old_patch)
1069  If old_patch == new_patch Then Return
1072  enabled = false
1073  klp_unpatch_objects(old_patch)
Caller
NameDescribe
klp_complete_transitionThe transition to the target patch state is complete. Clean up the data* structures.