diff options
author | Peter Zijlstra <peterz@infradead.org> | 2023-06-22 15:36:50 +0200 |
---|---|---|
committer | Peter Zijlstra <peterz@infradead.org> | 2023-07-10 09:52:23 +0200 |
commit | be0fffa5ca894a971a31c5e28aa77b633a97d1dc (patch) | |
tree | fb8c2146f3ff9ab43b62294f04138b47dd590f8a /arch/x86/kernel/module.c | |
parent | x86/cfi: Extend {JMP,CAKK}_NOSPEC comment (diff) | |
download | linux-be0fffa5ca894a971a31c5e28aa77b633a97d1dc.tar.xz linux-be0fffa5ca894a971a31c5e28aa77b633a97d1dc.zip |
x86/alternative: Rename apply_ibt_endbr()
The current name doesn't reflect what it does very well.
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Kees Cook <keescook@chromium.org>
Reviewed-by: Sami Tolvanen <samitolvanen@google.com>
Link: https://lkml.kernel.org/r/20230622144321.427441595%40infradead.org
Diffstat (limited to 'arch/x86/kernel/module.c')
-rw-r--r-- | arch/x86/kernel/module.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/module.c b/arch/x86/kernel/module.c index b05f62ee2344..5f71a0cf4399 100644 --- a/arch/x86/kernel/module.c +++ b/arch/x86/kernel/module.c @@ -358,7 +358,7 @@ int module_finalize(const Elf_Ehdr *hdr, } if (ibt_endbr) { void *iseg = (void *)ibt_endbr->sh_addr; - apply_ibt_endbr(iseg, iseg + ibt_endbr->sh_size); + apply_seal_endbr(iseg, iseg + ibt_endbr->sh_size); } if (locks) { void *lseg = (void *)locks->sh_addr; |