Skip to contentSkip to conversation

SSB-Cleanup Patch #2

PATCH New [email protected] 1 participant 1 message May 9, 2018 Proc filesystem

lore
Share & tools
lore
#0 lore raw

PATCH v13 2/2 SSB-Cleanup Patch #2

The style for the 'status' file is CamelCase or this. _.

Fixes fae1fa0fc ("proc: Provide details on speculation flaw mitigations")

---
v13: New patch
v14: Instead of CamelCase use underscores.

---
 fs/proc/array.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
fs/proc/array.c +1 -1
index d178a0236514..72391b3f6927 100644
@@ -336,7 +336,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");
Signature · 1 line
2.14.3