函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:restore_console_loglevel

函数原型:static void restore_console_loglevel(void)

返回类型:void

参数:

83  prev_loglevel_state等于klp_get_prev_state(CONSOLE_LOGLEVEL_STATE)
84  如果prev_loglevel_state
85  打印信息("%s: passing the console_loglevel change back to the old livepatch\n", __func__)
87  返回
90  loglevel_state等于klp_get_state( & patch, CONSOLE_LOGLEVEL_STATE)
91  如果非loglevel_state则返回
94  打印信息("%s: restoring console_loglevel\n", __func__)
95  console_loglevel等于data
调用者
名称描述
pre_unpatch_callbackExecuted on object unpatching (ie, patch disablement)