Re: Adding module support for __ro_after_init

2016-06-07 Thread Kees Cook
On Mon, Jun 6, 2016 at 11:42 PM, Jessica Yu wrote: > +++ Rusty Russell [05/06/16 14:39 +0930]: >> >> Kees Cook writes: >>> >>> Hi Rusty, >>> >>> I'd love to get your thoughts on the best way to support >>> __ro_after_init markings for modules. Are the r/o markings done after >>> module __init run

Re: Adding module support for __ro_after_init

2016-06-06 Thread Jessica Yu
+++ Rusty Russell [05/06/16 14:39 +0930]: Kees Cook writes: Hi Rusty, I'd love to get your thoughts on the best way to support __ro_after_init markings for modules. Are the r/o markings done after module __init runs? If so, this should make things easy, and then we just need to move .data..ro_

Re: Adding module support for __ro_after_init

2016-06-04 Thread Rusty Russell
Kees Cook writes: > Hi Rusty, > > I'd love to get your thoughts on the best way to support > __ro_after_init markings for modules. Are the r/o markings done after > module __init runs? If so, this should make things easy, and then we > just need to move .data..ro_after_init into .rodata at link ti