函数逻辑报告 |
Source Code:arch\x86\kernel\cpu\bugs.c |
Create Date:2022-07-27 08:56:45 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:ib_prctl_get
函数原型:static int ib_prctl_get(struct task_struct *task)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct task_struct * | task |
1240 | 如果非boot_cpu_has_bug(CPU is affected by Spectre variant 2 attack with indirect branches )则返回:Return and control values for PR_SET/GET_SPECULATION_CTRL |
1244 | 当:spectre_v2_user恒等于SPECTRE_V2_USER_NONE |
1245 | 返回:PR_SPEC_ENABLE |
1248 | 如果task_spec_ib_force_disable(task)则返回:PR_SPEC_PRCTL按位或PR_SPEC_FORCE_DISABLE |
1250 | 如果task_spec_ib_disable(task)则返回:PR_SPEC_PRCTL按位或PR_SPEC_DISABLE |
1252 | 返回:PR_SPEC_PRCTL按位或PR_SPEC_ENABLE |
1255 | 返回:PR_SPEC_DISABLE |
1256 | 默认 |
名称 | 描述 |
---|---|
arch_prctl_spec_ctrl_get |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |