proc: Provide details on speculation flaw mitigations
authorKees Cook <keescook@chromium.org>
Tue, 1 May 2018 22:31:45 +0000 (15:31 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 22 May 2018 14:58:01 +0000 (16:58 +0200)
commit51ef9af2a35bbc21334c801fd15cbfe01210760f
tree85f7b721e7cb82ceed49622df7595c890aed468d
parent4272f528da381673a8e7845c93daa88b8aa4f4e9
proc: Provide details on speculation flaw mitigations

commit fae1fa0fc6cca8beee3ab8ed71d54f9a78fa3f64 upstream

As done with seccomp and no_new_privs, also show speculation flaw
mitigation state in /proc/$pid/status.

Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: David Woodhouse <dwmw@amazon.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/proc/array.c