函数逻辑报告

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

函数名称:fix_console_loglevel

函数原型:static void fix_console_loglevel(void)

返回类型:void

参数:

62  loglevel_state等于klp_get_state( & patch, CONSOLE_LOGLEVEL_STATE)
63  如果非loglevel_state则返回
66  prev_loglevel_state等于klp_get_prev_state(CONSOLE_LOGLEVEL_STATE)
67  如果prev_loglevel_state
68  打印信息("%s: taking over the console_loglevel change\n", __func__)
70  data等于data
71  返回
74  打印信息("%s: fixing console_loglevel\n", __func__)
75  data等于console_loglevel
76  console_loglevel等于You can't shut this one up
调用者
名称描述
post_patch_callbackExecuted on object unpatching (ie, patch disablement)