Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\params.c Create Date:2022-07-28 09:29:21
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:param_check_unsafe

Proto:static bool param_check_unsafe(const struct kernel_param *kp)

Type:bool

Parameter:

TypeParameterName
const struct kernel_param *kp
102  If flags & KERNEL_PARAM_FL_HWPARAM && security_locked_down(LOCKDOWN_MODULE_PARAMETERS) Then Return false
106  If flags & KERNEL_PARAM_FL_UNSAFE Then
107  pr_notice("Setting dangerous option %s - tainting kernel\n", name)
109  add_taint: add a taint flag if not already set.*@flag: one of the TAINT_* constants.*@lockdep_ok: whether lock debugging is still OK.* If something bad has gone wrong, you'll want @lockdebug_ok = false, but for
112  Return true
Caller
NameDescribe
parse_one