Memory layout: Difference between revisions
Add a note about secmon attributes |
KASLR |
||
Line 66: | Line 66: | ||
For userland pages, the kernel has same access as userland (either both are read-only or both are read-write). It does not have SMAP. The previous rule has one exception: pages that are mapped unreadable in usermode are still forced readable from kernelmode. | For userland pages, the kernel has same access as userland (either both are read-only or both are read-write). It does not have SMAP. The previous rule has one exception: pages that are mapped unreadable in usermode are still forced readable from kernelmode. | ||
KASLR is being used since [[5.0.0]], but not before, with | |||
kaslrBase = (rand64ViaSmc() % 0x3FFF0 << 21) + DRAM_VA(_start); | |||
== 1.0.0 == | == 1.0.0 == |