[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAHk-=wj-j6Lntr84Qssq1gcsUKtNU8Y=RP+0+fnLT4y38zrsPw@mail.gmail.com>
Date: Mon, 24 Oct 2022 16:58:58 -0700
From: Linus Torvalds <torvalds@...ux-foundation.org>
To: Steven Rostedt <rostedt@...dmis.org>
Cc: LKML <linux-kernel@...r.kernel.org>,
Peter Zijlstra <peterz@...radead.org>,
Kees Cook <keescook@...omium.org>,
Dave Hansen <dave.hansen@...el.com>,
Sean Christopherson <seanjc@...gle.com>,
"x86@...nel.org" <x86@...nel.org>
Subject: Re: [PATCH v2] x86/mm: Do not verify W^X at boot up on ftrace trampolines
On Mon, Oct 24, 2022 at 3:25 PM Steven Rostedt <rostedt@...dmis.org> wrote:
>
> From: "Steven Rostedt (Google)" <rostedt@...dmis.org>
>
> Adding on the kernel command line "ftrace=function" triggered:
This one I *really* detest.
If we have to have a special case, make it just be the simple
"system_state == SYSTEM_BOOTING", don't make it even nastier.
Special cases are bad. Making them these kinds of "this is
super-magical and special" is even worse.
Linus
Powered by blists - more mailing lists