Re: [PATCH 2/2] x86/speculation: Provide application property based STIBP protection
From: Tim Chen
Date: Thu Sep 20 2018 - 13:17:16 EST
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