[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20230804082853.GM212435@hirez.programming.kicks-ass.net>
Date: Fri, 4 Aug 2023 10:28:53 +0200
From: Peter Zijlstra <peterz@...radead.org>
To: Andrew Cooper <andrew.cooper3@...rix.com>
Cc: LKML <linux-kernel@...r.kernel.org>,
Petr Pavlu <petr.pavlu@...e.com>,
Josh Poimboeuf <jpoimboe@...nel.org>
Subject: Re: [PATCH] x86/retpoline,kprobes: Fix "Fix position of thunk
sections with CONFIG_LTO_CLANG"
On Fri, Aug 04, 2023 at 12:03:23AM +0100, Andrew Cooper wrote:
> Lets hope there are no .text..__x86womble sections around.
>
> Fixes: 973ab2d61f33 ("x86/retpoline,kprobes: Fix position of thunk sections with CONFIG_LTO_CLANG")
> Signed-off-by: Andrew Cooper <andrew.cooper3@...rix.com>
> ---
> CC: Petr Pavlu <petr.pavlu@...e.com>
> CC: Peter Zijlstra (Intel) <peterz@...radead.org>
> CC: Josh Poimboeuf <jpoimboe@...nel.org>
> CC: linux-kernel@...r.kernel.org
>
> Alternatively,
>
> int strstarts(const char *s1, const char *s2)
> {
> return strncmp(s1, s2, strlen(s2));
> }
Durr, I hate C ;-/ And yes, we have a ton of it, lemme try that
strstarts thing.
Powered by blists - more mailing lists