Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:fix_console_loglevel

Proto:static void fix_console_loglevel(void)

Type:void

Parameter:Nothing

62  loglevel_state = klp_get_state( & patch, CONSOLE_LOGLEVEL_STATE)
63  If Not loglevel_state Then Return
66  prev_loglevel_state = klp_get_prev_state(CONSOLE_LOGLEVEL_STATE)
67  If prev_loglevel_state Then
68  pr_info("%s: taking over the console_loglevel change\n", __func__)
70  data = data
71  Return
74  pr_info("%s: fixing console_loglevel\n", __func__)
75  data = console_loglevel
76  console_loglevel = You can't shut this one up
Caller
NameDescribe
post_patch_callbackExecuted on object unpatching (ie, patch disablement)