Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\cpu.c Create Date:2022-07-28 09:01:05
Last Modify:2020-03-18 13:00:59 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:mitigations_parse_cmdline

Proto:static int __init mitigations_parse_cmdline(char *arg)

Type:int

Parameter:

TypeParameterName
char *arg
2397  If Not strcmp(arg, "off") Then cpu_mitigations = CPU_MITIGATIONS_OFF
2399  Else if Not strcmp(arg, "auto") Then cpu_mitigations = CPU_MITIGATIONS_AUTO
2401  Else if Not strcmp(arg, "auto,nosmt") Then cpu_mitigations = CPU_MITIGATIONS_AUTO_NOSMT
2403  Else pr_crit("Unsupported mitigations=%s, system may still be vulnerable\n", arg)
2407  Return 0