objtool: Explicitly avoid self modifying code in .altinstr_replacement
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2090231 commit dd003ede Author: Peter Zijlstra <peterz@infradead.org> Date: Tue, 26 Oct 2021 14:01:34 +0200 objtool: Explicitly avoid self modifying code in .altinstr_replacement Assume ALTERNATIVE()s know what they're doing and do not change, or cause to change, instructions in .altinstr_replacement sections. Signed-off-by:Peter Zijlstra (Intel) <peterz@infradead.org> Reviewed-by:
Borislav Petkov <bp@suse.de> Acked-by:
Josh Poimboeuf <jpoimboe@redhat.com> Tested-by:
Alexei Starovoitov <ast@kernel.org> Link: https://lore.kernel.org/r/20211026120309.722511775@infradead.org Signed-off-by:
Waiman Long <longman@redhat.com>
Loading
Please register or sign in to comment