mirror of
https://github.com/netbirdio/gvisor.git
synced 2026-05-22 17:12:49 -07:00
876908e5e0
Right now, the start function is executed with the disabled MMU and it means every access the PA is equal to the MVA [1]. This is known as a flat address mapping. By coincidence, the code segment is mapped in lower addresses and we have the flat address mapping for it. But it isn't the case if we set buildmode=pie to enable ASLR. [1] https://developer.arm.com/documentation/ddi0406/b/System-Level-Architecture/Virtual-Memory-System-Architecture--VMSA-/Memory-access-sequence/Enabling-and-disabling-the-MMU PiperOrigin-RevId: 523745143