Memory protection keys
Memory protection keys
Posted Jun 8, 2015 11:34 UTC (Mon) by spender (guest, #23067)In reply to: Memory protection keys by marcan
Parent article: Memory protection keys
Some important differences though: DACR cannot be modified by userland without entering the kernel, while protection keys can. AFAIK it's also not possible to implement execute-only pages using domains as no access means no access, whereas protection keys apply to data access only, not instruction fetches. Domains affect the kernel as well while this only affects userland (currently). Domains permit granting permissions greater than that specified by the page tables, while protection keys can only give out a subset of existing permissions (due to the userland-only design).
-Brad
