[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <733099f3-3d99-02d8-5641-8152167f0320@linux.intel.com>
Date: Thu, 20 Sep 2018 10:17:09 -0700
From: Tim Chen <tim.c.chen@...ux.intel.com>
To: Peter Zijlstra <peterz@...radead.org>
Cc: Jiri Kosina <jikos@...nel.org>,
Thomas Gleixner <tglx@...utronix.de>,
Tom Lendacky <thomas.lendacky@....com>,
Ingo Molnar <mingo@...hat.com>,
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 2/2] x86/speculation: Provide application property based
STIBP protection
On 09/20/2018 12:57 AM, Peter Zijlstra wrote:
> On Wed, Sep 19, 2018 at 02:35:30PM -0700, Tim Chen wrote:
>> + if (get_dumpable(tsk->mm) != SUID_DUMP_USER)
>> + test_and_set_tsk_thread_flag(tsk, TIF_STIBP);
>> + else
>> + test_and_clear_tsk_thread_flag(tsk, TIF_STIBP);
>> +}
>
> s/test_and_//
>
Ah yes. Will update this.
Tim
Powered by blists - more mailing lists