[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20231110003645.pfkoptpma4dkt7ey@treble>
Date: Thu, 9 Nov 2023 16:36:45 -0800
From: Josh Poimboeuf <jpoimboe@...nel.org>
To: Peter Zijlstra <peterz@...radead.org>
Cc: Andrew Cooper <andrew.cooper3@...rix.com>,
LKML <linux-kernel@...r.kernel.org>,
Petr Pavlu <petr.pavlu@...e.com>
Subject: Re: [PATCH] x86/retpoline,kprobes: Fix "Fix position of thunk
sections with CONFIG_LTO_CLANG"
On Fri, Aug 04, 2023 at 10:43:28AM +0200, Peter Zijlstra wrote:
> On Fri, Aug 04, 2023 at 10:28:53AM +0200, Peter Zijlstra wrote:
> > On Fri, Aug 04, 2023 at 12:03:23AM +0100, Andrew Cooper wrote:
> > > 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.
>
> So there, that builds and compiles a kernel, must be good :-)
Would be nice to see this strstarts() change go in ;-)
Acked-by: Josh Poimboeuf <jpoimboe@...nel.org>
--
Josh
Powered by blists - more mailing lists