Re: [tip: x86/core] x86/alternative: Patch a single alternative location only once
From: Jürgen Groß
Date: Tue Oct 14 2025 - 10:46:53 EST
On 14.10.25 16:39, Borislav Petkov wrote:
On Tue, Oct 14, 2025 at 04:31:31PM +0200, Jürgen Groß wrote:
I have this here in the commit message:
- In case of replacing an indirect with a direct call using the
ALT_FLAG_DIRECT_CALL flag, there is no longer the need to have that
instance before any other instances at the same location (the
original instruction is needed for finding the target of the direct
call).
which is explaining why the problem is occurring. Isn't that enough?
I can guess what this is about but a concrete example here would make it
a lot clearer, I'd say.
Okay, I'll expand that with the concrete example.
Juergen
Attachment:
OpenPGP_0xB0DE9DD628BF132F.asc
Description: OpenPGP public key
Attachment:
OpenPGP_signature.asc
Description: OpenPGP digital signature