]> git.baikalelectronics.ru Git - kernel.git/commit
seccomp: Enable speculation flaw mitigations
authorKees Cook <keescook@chromium.org>
Tue, 1 May 2018 22:07:31 +0000 (15:07 -0700)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 3 May 2018 11:55:52 +0000 (13:55 +0200)
commitaa857b969e8a586fc55a1d1c98ec6dc3e0124812
tree61123edee3ab9386a4314c3ce8267007471c0874
parent224b891384a04950795194fdf98b16e877b014e2
seccomp: Enable speculation flaw mitigations

When speculation flaw mitigations are opt-in (via prctl), using seccomp
will automatically opt-in to these protections, since using seccomp
indicates at least some level of sandboxing is desired.

Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
kernel/seccomp.c