CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2017/01/11 06:00:49
Modified files:
sys/arch/arm64/arm64: pmap.c trap.c
Log message:
A data abort caused by an execution access fault should propagate its
fault as execution fault. This is especially needed as in comparison
to ARMv7 we can have execute-only user pages on ARMv8. This means that
there is a distinction between executing and reading pages, which we
did not have before. We need to treat PROT_EXEC separate but similar
to PROT_READ.
Additionally, use pte_insert() to manage a page's pagetable entry
instead of manually accessing and modifying the pagetable.