Re: [PATCH v3 11/13] retpoline/taint: Taint kernel for missing retpoline in compiler

2018-01-04 Thread Justin Forbes
On Thu, Jan 4, 2018 at 8:37 AM, David Woodhouse wrote: > From: Andi Kleen > > When the kernel or a module hasn't been compiled with a retpoline > aware compiler, print a warning and set a taint flag. > > For modules it is checked at compile time, however

Re: [PATCH v3 11/13] retpoline/taint: Taint kernel for missing retpoline in compiler

2018-01-04 Thread Justin Forbes
On Thu, Jan 4, 2018 at 8:37 AM, David Woodhouse wrote: > From: Andi Kleen > > When the kernel or a module hasn't been compiled with a retpoline > aware compiler, print a warning and set a taint flag. > > For modules it is checked at compile time, however it cannot > check assembler or other non

[PATCH v3 11/13] retpoline/taint: Taint kernel for missing retpoline in compiler

2018-01-04 Thread David Woodhouse
From: Andi Kleen When the kernel or a module hasn't been compiled with a retpoline aware compiler, print a warning and set a taint flag. For modules it is checked at compile time, however it cannot check assembler or other non compiled objects used in the module link. Due

[PATCH v3 11/13] retpoline/taint: Taint kernel for missing retpoline in compiler

2018-01-04 Thread David Woodhouse
From: Andi Kleen When the kernel or a module hasn't been compiled with a retpoline aware compiler, print a warning and set a taint flag. For modules it is checked at compile time, however it cannot check assembler or other non compiled objects used in the module link. Due to lack of better