Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\cpu\bugs.c Create Date:2022-07-28 07:56:26
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:arch_prctl_spec_ctrl_get

Proto:int arch_prctl_spec_ctrl_get(struct task_struct *task, unsigned long which)

Type:int

Parameter:

TypeParameterName
struct task_struct *task
unsigned longwhich
1264  Case which == Speculation control variants
1265  Return ssb_prctl_get(task)
1266  Case which == PR_SPEC_INDIRECT_BRANCH
1267  Return ib_prctl_get(task)
1268  Default
1269  Return -ENODEV