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:07
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:Does SMAP provide full mitigation against speculative kernel access to* userspace?

Proto:static bool smap_works_speculatively(void)

Type:bool

Parameter:Nothing

415  If Not boot_cpu_has(Supervisor Mode Access Prevention ) Then Return false
424  If boot_cpu_has(CPU is affected by meltdown attack and needs kernel page table isolation ) Then Return false
427  Return true
Caller
NameDescribe
spectre_v1_select_mitigation