4 ms·
I just looked it up in the Armv8 manual and there is a control setting that makes the processor ignore the executable permissions for any writable pages. It sta
by tinus_hn 4y ago
I just looked it up in the Armv8 manual and there is a control setting that makes the processor ignore the executable permissions for any writable pages. It states these controls ‘are intended to be used in systems with very high security requirements.’ which suggests there are drawbacks.
https://armv8-ref.codingbelief.com/en/chapter_d4/d44_1_memory_access_control.html https://armv8-ref.codingbelief.com/en/chapter_d4/d44_1_memor...
- Dylan16807 4y agoThe drawback is you have to rewrite some old code. I don't think there's anything else of note. Maybe there are situations where switching permissions is too expensive in an unavoidable way but that borders on chip design problem...