]> Git Repo - qemu.git/commit
target/ppc: Add execute permission checking to access authority check
authorSuraj Jitindar Singh <[email protected]>
Wed, 1 Mar 2017 07:12:53 +0000 (18:12 +1100)
committerDavid Gibson <[email protected]>
Fri, 3 Mar 2017 00:30:59 +0000 (11:30 +1100)
commit347a5c73bafd1b5872c9d3192a4d08f8aa1d5f5a
tree28b1ed28dc68431e3d53e89046d7e3d3eb43130f
parenta6152b52bc50c5cf1cd118a74b483dd3f0748ebd
target/ppc: Add execute permission checking to access authority check

Basic storage protection defines various access authority permissions
based on a slb storage key and pte pp value pair. This access authority
defines read, write and execute permissions however currently we only
use this to control read and write permissions and ignore the execute
control.

Fix the code to allow execute permissions based on the key-pp value pair.
Execute is allowed under the same conditions which enable reads.
(i.e. read permission -> execute permission)

Signed-off-by: Suraj Jitindar Singh <[email protected]>
Acked-by: David Gibson <[email protected]>
Signed-off-by: David Gibson <[email protected]>
target/ppc/mmu-hash64.c
This page took 0.022555 seconds and 4 git commands to generate.