Function report |
Source Code:arch\x86\kernel\cpu\bugs.c |
Create Date:2022-07-28 07:56:25 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:ssb_prctl_get
Proto:static int ssb_prctl_get(struct task_struct *task)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct task_struct * | task |
1220 | Case ssb_mode == SPEC_STORE_BYPASS_DISABLE |
1221 | Return PR_SPEC_DISABLE |
1222 | Case ssb_mode == SPEC_STORE_BYPASS_SECCOMP |
1223 | Case ssb_mode == SPEC_STORE_BYPASS_PRCTL |
1224 | If task_spec_ssb_force_disable(task) Then Return PR_SPEC_PRCTL | PR_SPEC_FORCE_DISABLE |
1226 | If task_spec_ssb_noexec(task) Then Return PR_SPEC_PRCTL | PR_SPEC_DISABLE_NOEXEC |
1228 | If task_spec_ssb_disable(task) Then Return PR_SPEC_PRCTL | PR_SPEC_DISABLE |
1230 | Return PR_SPEC_PRCTL | PR_SPEC_ENABLE |
1231 | Default |
1232 | If boot_cpu_has_bug(CPU is affected by speculative store bypass attack ) Then Return PR_SPEC_ENABLE |
Name | Describe |
---|---|
arch_prctl_spec_ctrl_get |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |