Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:This function implements the free operations that can be called safely* under klp_mutex.* The operation must be completed by calling klp_free_patch_finish()* outside klp_mutex.

Proto:static void klp_free_patch_start(struct klp_patch *patch)

Type:void

Parameter:

TypeParameterName
struct klp_patch *patch
638  If Not list_empty - tests whether a list is empty*@head: the list to test. Then deletes entry from list
641  klp_free_objects(patch)
Caller
NameDescribe
klp_free_patch_async
klp_enable_patchklp_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,