]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commitdiff
proc: Use underscores for SSBD in 'status'
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Wed, 9 May 2018 19:41:38 +0000 (21:41 +0200)
committerStefan Bader <stefan.bader@canonical.com>
Mon, 14 May 2018 12:24:21 +0000 (14:24 +0200)
The style for the 'status' file is CamelCase or this. _.

Fixes: fae1fa0fc ("proc: Provide details on speculation flaw mitigations")
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
CVE-2018-3639 (x86)

Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
fs/proc/array.c

index f2555b3dbe850374aa4c506da31c4f3ec5a1e473..4c27eaf4eca5b7080ebe6d9b065005af6300e151 100644 (file)
@@ -353,7 +353,7 @@ static inline void task_seccomp(struct seq_file *m, struct task_struct *p)
 #ifdef CONFIG_SECCOMP
        seq_put_decimal_ull(m, "\nSeccomp:\t", p->seccomp.mode);
 #endif
-       seq_printf(m, "\nSpeculation Store Bypass:\t");
+       seq_printf(m, "\nSpeculation_Store_Bypass:\t");
        switch (arch_prctl_spec_ctrl_get(p, PR_SPEC_STORE_BYPASS)) {
        case -EINVAL:
                seq_printf(m, "unknown");