+24
−37
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
Make alternatives replace single JMPs instead of whole memset functions,
thus decreasing the amount of instructions copied during patching time
at boot.
While at it, make it use the REP_GOOD version by default which means
alternatives NOP out the JMP to the other versions, as REP_GOOD is set
by default on the majority of relevant x86 processors.
Signed-off-by:
Borislav Petkov <bp@suse.de>