Messages in this thread | | | Date | Fri, 4 Aug 2023 10:28:53 +0200 | From | Peter Zijlstra <> | 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@citrix.com> > --- > CC: Petr Pavlu <petr.pavlu@suse.com> > CC: Peter Zijlstra (Intel) <peterz@infradead.org> > CC: Josh Poimboeuf <jpoimboe@kernel.org> > CC: linux-kernel@vger.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.
| |