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:restore_console_loglevel

Proto:static void restore_console_loglevel(void)

Type:void

Parameter:Nothing

83  prev_loglevel_state = klp_get_prev_state(CONSOLE_LOGLEVEL_STATE)
84  If prev_loglevel_state Then
85  pr_info("%s: passing the console_loglevel change back to the old livepatch\n", __func__)
87  Return
90  loglevel_state = klp_get_state( & patch, CONSOLE_LOGLEVEL_STATE)
91  If Not loglevel_state Then Return
94  pr_info("%s: restoring console_loglevel\n", __func__)
95  console_loglevel = data
Caller
NameDescribe
pre_unpatch_callbackExecuted on object unpatching (ie, patch disablement)