aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci/controller/pci-host-common.c
diff options
context:
space:
mode:
authorRam Pai <[email protected]>2018-05-04 20:01:51 +0000
committerMichael Ellerman <[email protected]>2018-06-05 01:03:25 +0000
commiteabdb8ca8690eedd461e61ea7780595fbbae8132 (patch)
treedb6036b2c5c08dd3c43e7dcb53fbc668bb1e15c8 /drivers/pci/controller/pci-host-common.c
parentpowerpc/powernv: copy/paste - Mask SO bit in CR (diff)
downloadkernel-eabdb8ca8690eedd461e61ea7780595fbbae8132.tar.gz
kernel-eabdb8ca8690eedd461e61ea7780595fbbae8132.zip
powerpc/pkeys: Detach execute_only key on !PROT_EXEC
Disassociate the exec_key from a VMA if the VMA permission is not PROT_EXEC anymore. Otherwise the exec_only key continues to be associated with the vma, causing unexpected behavior. The problem was reported on x86 by Shakeel Butt, which is also applicable on powerpc. Fixes: 5586cf61e108 ("powerpc: introduce execute-only pkey") Cc: [email protected] # v4.16+ Reported-by: Shakeel Butt <[email protected]> Signed-off-by: Ram Pai <[email protected]> Reviewed-by: Thiago Jung Bauermann <[email protected]> Signed-off-by: Michael Ellerman <[email protected]>
Diffstat (limited to 'drivers/pci/controller/pci-host-common.c')
0 files changed, 0 insertions, 0 deletions