aboutsummaryrefslogtreecommitdiff
path: root/dump.c
diff options
context:
space:
mode:
authorDavid Gibson <david@gibson.dropbear.id.au>2013-03-12 00:31:41 +0000
committerAlexander Graf <agraf@suse.de>2013-03-22 15:28:52 +0100
commit57d0a39d98b0d0e4712e736084667bcb5aed3474 (patch)
tree9512326aec8d61db8f6acc37f57503b3767384f1 /dump.c
parente01b444523e2b0c663b42b3e8f44ef48a6153051 (diff)
mmu-hash64: Factor SLB N bit into permissions bits
BEHAVIOUR CHANGE Currently, for 64-bit hash mmu, the execute protection bit placed into the qemu tlb is based only on the N (No execute) bit from the PTE. However, No Execute can also be set at the segment level. We do check this on execute faults, but this still means we could incorrectly allow execution of code from a No Execute segment, if a prior read or write fault caused the page to be loaded into the qemu tlb with PROT_EXEC set. To correct this, we (re-)check the segment level no execute permission when generating the protection bits for the qemu tlb. Signed-off-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'dump.c')
0 files changed, 0 insertions, 0 deletions