lkml.org 
[lkml]   [2021]   [Sep]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/4] Fix ro_after_init vs static_call
Date
Hi,

It seems the .static_call_sites section was not being marked as
ro-after-init in modules. Adjust the macro names, add comments, refactor
the module section list, and fix .static_call_sites.

Thanks!

-Kees

Kees Cook (4):
vmlinux.lds.h: Use regular *RODATA and *RO_AFTER_INIT_DATA suffixes
vmlinux.lds.h: Split .static_call_sites from .static_call_tramp_key
module: Use a list of strings for ro_after_init sections
module: Include .static_call_sites in module ro_after_init

arch/s390/kernel/vmlinux.lds.S | 2 +-
include/asm-generic/vmlinux.lds.h | 22 +++++++++++++++-------
kernel/module.c | 29 +++++++++++++++++------------
3 files changed, 33 insertions(+), 20 deletions(-)

--
2.30.2

\
 
 \ /
  Last update: 2021-09-02 01:39    [W:0.082 / U:3.148 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site