]> git.proxmox.com Git - mirror_ubuntu-bionic-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>
Wed, 16 May 2018 11:52:33 +0000 (13:52 +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 efe3273a065b57723a737cf789b26ebdd26fae3c..dfdb15a0b7ea610b817f7b7356741213c523754d 100644 (file)
@@ -348,7 +348,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");