Port-arm archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kernel .text and .rodata



> On Nov 5, 2014, at 9:33 PM, Masao Uebayashi <uebayasi%gmail.com@localhost> wrote:
> 
> On Thu, Nov 6, 2014 at 1:54 PM, Matt Thomas <matt%3am-software.com@localhost> wrote:
>>> There are XN for arm, NX for x86.  Seems not widely used yet.
>> 
>> Used on arm now. :)
> 
> .rodata is set as XN, right?

Since all of memory  is usually direct-mapped these days, the 16MB 
supersection that holds the kernel text doesn't have XN even though
it's RW.




Home | Main Index | Thread Index | Old Index