[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAFxkdAou+kYvHhB52RTpJnMJ3jCbco5vzKv0HZe==XtDAOhEZA@mail.gmail.com>
Date: Thu, 4 Jan 2018 16:06:02 -0600
From: Justin Forbes <jmforbes@...uxtx.org>
To: David Woodhouse <dwmw@...zon.co.uk>
Cc: Andi Kleen <ak@...ux.intel.com>, Paul Turner <pjt@...gle.com>,
LKML <linux-kernel@...r.kernel.org>,
Linus Torvalds <torvalds@...ux-foundation.org>,
Greg Kroah-Hartman <gregkh@...ux-foundation.org>,
Tim Chen <tim.c.chen@...ux.intel.com>,
Dave Hansen <dave.hansen@...el.com>,
Thomas Gleixner <tglx@...utronix.de>,
Kees Cook <keescook@...gle.com>,
Rik van Riel <riel@...hat.com>,
Peter Zijlstra <peterz@...radead.org>,
Andy Lutomirski <luto@...capital.net>,
Jiri Kosina <jikos@...nel.org>,
Alan Cox <gnomes@...rguk.ukuu.org.uk>
Subject: Re: [PATCH v3 11/13] retpoline/taint: Taint kernel for missing
retpoline in compiler
On Thu, Jan 4, 2018 at 8:37 AM, David Woodhouse <dwmw@...zon.co.uk> wrote:
> From: Andi Kleen <ak@...ux.intel.com>
>
> 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 letter it uses taint option 'Z'
>
Is taint really the right thing to do here? Why not just do pr_info?
Powered by blists - more mailing lists