array.c (fae1fa0fc6cca8beee3ab8ed71d54f9a78fa3f64) array.c (356e4bfff2c5489e016fdb925adbf12a1e3950ee)
1// SPDX-License-Identifier: GPL-2.0
2/*
3 * linux/fs/proc/array.c
4 *
5 * Copyright (C) 1992 by Linus Torvalds
6 * based on ideas by Darren Senn
7 *
8 * Fixes:

--- 330 unchanged lines hidden (view full) ---

339 seq_printf(m, "\nSpeculation Store Bypass:\t");
340 switch (arch_prctl_spec_ctrl_get(p, PR_SPEC_STORE_BYPASS)) {
341 case -EINVAL:
342 seq_printf(m, "unknown");
343 break;
344 case PR_SPEC_NOT_AFFECTED:
345 seq_printf(m, "not vulnerable");
346 break;
1// SPDX-License-Identifier: GPL-2.0
2/*
3 * linux/fs/proc/array.c
4 *
5 * Copyright (C) 1992 by Linus Torvalds
6 * based on ideas by Darren Senn
7 *
8 * Fixes:

--- 330 unchanged lines hidden (view full) ---

339 seq_printf(m, "\nSpeculation Store Bypass:\t");
340 switch (arch_prctl_spec_ctrl_get(p, PR_SPEC_STORE_BYPASS)) {
341 case -EINVAL:
342 seq_printf(m, "unknown");
343 break;
344 case PR_SPEC_NOT_AFFECTED:
345 seq_printf(m, "not vulnerable");
346 break;
347 case PR_SPEC_PRCTL | PR_SPEC_FORCE_DISABLE:
348 seq_printf(m, "thread force mitigated");
349 break;
347 case PR_SPEC_PRCTL | PR_SPEC_DISABLE:
348 seq_printf(m, "thread mitigated");
349 break;
350 case PR_SPEC_PRCTL | PR_SPEC_ENABLE:
351 seq_printf(m, "thread vulnerable");
352 break;
353 case PR_SPEC_DISABLE:
354 seq_printf(m, "globally mitigated");

--- 406 unchanged lines hidden ---
350 case PR_SPEC_PRCTL | PR_SPEC_DISABLE:
351 seq_printf(m, "thread mitigated");
352 break;
353 case PR_SPEC_PRCTL | PR_SPEC_ENABLE:
354 seq_printf(m, "thread vulnerable");
355 break;
356 case PR_SPEC_DISABLE:
357 seq_printf(m, "globally mitigated");

--- 406 unchanged lines hidden ---