Port-arm archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: kernel .text and .rodata
On Thu, Nov 6, 2014 at 4:44 PM, Matt Thomas <matt%3am-software.com@localhost> wrote:
>> .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.
o all memory is direct-mapped as RW w/ XN (no executable)
o .text (including .rodata) is mapped as RW w/o XN (executable)
? I hope you meant .text is RO...
Home |
Main Index |
Thread Index |
Old Index