[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <cff6ca63-3fce-75a1-8734-048d809d4260@infradead.org>
Date: Wed, 17 Oct 2018 12:12:33 -0700
From: Randy Dunlap <rdunlap@...radead.org>
To: Tim Chen <tim.c.chen@...ux.intel.com>,
Jiri Kosina <jikos@...nel.org>,
Thomas Gleixner <tglx@...utronix.de>
Cc: Tom Lendacky <thomas.lendacky@....com>,
Ingo Molnar <mingo@...hat.com>,
Peter Zijlstra <peterz@...radead.org>,
Josh Poimboeuf <jpoimboe@...hat.com>,
Andrea Arcangeli <aarcange@...hat.com>,
David Woodhouse <dwmw@...zon.co.uk>,
Andi Kleen <ak@...ux.intel.com>,
Dave Hansen <dave.hansen@...el.com>,
Casey Schaufler <casey.schaufler@...el.com>,
Asit Mallick <asit.k.mallick@...el.com>,
Arjan van de Ven <arjan@...ux.intel.com>,
Jon Masters <jcm@...hat.com>, linux-kernel@...r.kernel.org,
x86@...nel.org
Subject: Re: [Patch v3 13/13] x86/speculation: Create PRCTL interface to
restrict indirect branch speculation
On 10/17/18 10:59 AM, Tim Chen wrote:
>
> Signed-off-by: Tim Chen <tim.c.chen@...ux.intel.com>
> ---
> Documentation/admin-guide/kernel-parameters.txt | 5 +-
> Documentation/userspace-api/spec_ctrl.rst | 10 +++
> arch/x86/kernel/cpu/bugs.c | 85 ++++++++++++++++++++++++-
> include/linux/sched.h | 11 ++++
> include/uapi/linux/prctl.h | 1 +
> tools/include/uapi/linux/prctl.h | 1 +
> 6 files changed, 111 insertions(+), 2 deletions(-)
>
> diff --git a/Documentation/admin-guide/kernel-parameters.txt b/Documentation/admin-guide/kernel-parameters.txt
> index 2feb6b2..9af11be 100644
> --- a/Documentation/admin-guide/kernel-parameters.txt
> +++ b/Documentation/admin-guide/kernel-parameters.txt
> @@ -4196,7 +4196,10 @@
> lite - turn on mitigation for non-dumpable
> processes (i.e. protect daemons and other
> privileged processes that tend to be
> - non-dumpable).
> + non-dumpable), and processes that has indirect
have
> + branch speculation restricted via prctl's
> + PR_SET_SPECULATION_CTRL option
> +
> strict - protect against attacks for all user processes
> auto - let kernel decide lite or strict mode
>
--
~Randy
Powered by blists - more mailing lists