函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:param_check_unsafe

函数原型:static bool param_check_unsafe(const struct kernel_param *kp)

返回类型:bool

参数:

类型参数名称
const struct kernel_param *kp
102  如果flags按位与KERNEL_PARAM_FL_HWPARAMsecurity_locked_down(LOCKDOWN_MODULE_PARAMETERS)则返回:false
106  如果flags按位与KERNEL_PARAM_FL_UNSAFE
107  打印注释信息("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  返回:true
调用者
名称描述
parse_one