Re: [RFC PATCH 1/3] module: Split module_enable_rodata_ro()

2024-11-27 Thread Luis Chamberlain
On Wed, Nov 27, 2024 at 02:37:40PM +0100, Christophe Leroy wrote: > > > Le 26/11/2024 à 20:58, Luis Chamberlain a écrit : > > On Sat, Nov 09, 2024 at 11:35:35AM +0100, Christophe Leroy wrote: > > > module_enable_rodata_ro() is called twice, once before module init > > > to set rodata sections rea

Re: [RFC PATCH 1/3] module: Split module_enable_rodata_ro()

2024-11-27 Thread Christophe Leroy
Le 26/11/2024 à 20:58, Luis Chamberlain a écrit : On Sat, Nov 09, 2024 at 11:35:35AM +0100, Christophe Leroy wrote: module_enable_rodata_ro() is called twice, once before module init to set rodata sections readonly and once after module init to set rodata_after_init section readonly. The sec

Re: [RFC PATCH 1/3] module: Split module_enable_rodata_ro()

2024-11-26 Thread Luis Chamberlain
On Sat, Nov 09, 2024 at 11:35:35AM +0100, Christophe Leroy wrote: > module_enable_rodata_ro() is called twice, once before module init > to set rodata sections readonly and once after module init to set > rodata_after_init section readonly. > > The second time, only the rodata_after_init section n

Re: [RFC PATCH 1/3] module: Split module_enable_rodata_ro()

2024-11-09 Thread Daniel Gomez
On Sat Nov 9, 2024 at 11:35 AM CET, Christophe Leroy wrote: > module_enable_rodata_ro() is called twice, once before module init > to set rodata sections readonly and once after module init to set > rodata_after_init section readonly. > > The second time, only the rodata_after_init section needs to