Messages in this thread Patch in this message | | | From | Kees Cook <> | Subject | [PATCH 4/4] module: Include .static_call_sites in module ro_after_init | Date | Wed, 1 Sep 2021 16:37:57 -0700 |
| |
The RO_AFTER_INIT_DATA macro and module_sections_ro_after_init[] need to be kept in sync.
Cc: Jessica Yu <jeyu@kernel.org> Cc: Josh Poimboeuf <jpoimboe@redhat.com> Cc: Peter Zijlstra (Intel) <peterz@infradead.org> Fixes: 9183c3f9ed71 ("static_call: Add inline static call infrastructure") Signed-off-by: Kees Cook <keescook@chromium.org> --- kernel/module.c | 1 + 1 file changed, 1 insertion(+)
diff --git a/kernel/module.c b/kernel/module.c index b0ff82cc48fe..06410eb68dea 100644 --- a/kernel/module.c +++ b/kernel/module.c @@ -3521,6 +3521,7 @@ core_param(module_blacklist, module_blacklist, charp, 0400); static const char * const module_sections_ro_after_init[] = { ".data..ro_after_init", "__jump_table", + ".static_call_sites", NULL }; -- 2.30.2
| |