summaryrefslogtreecommitdiffstats
path: root/fs/binfmt_som.c
diff options
context:
space:
mode:
authorChristian Borntraeger <borntraeger@de.ibm.com>2014-08-19 16:19:35 +0200
committerChristian Borntraeger <borntraeger@de.ibm.com>2014-08-25 14:35:28 +0200
commitab3f285f227fec62868037e9b1b1fd18294a83b8 (patch)
tree223d790283f4379ce84a87660d100a1f1933cffd /fs/binfmt_som.c
parent614a80e474b227cace52fd6e3c790554db8a396e (diff)
downloadtalos-obmc-linux-ab3f285f227fec62868037e9b1b1fd18294a83b8.tar.gz
talos-obmc-linux-ab3f285f227fec62868037e9b1b1fd18294a83b8.zip
KVM: s390/mm: try a cow on read only pages for key ops
The PFMF instruction handler blindly wrote the storage key even if the page was mapped R/O in the host. Lets try a COW before continuing and bail out in case of errors. Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com> Reviewed-by: Dominik Dingel <dingel@linux.vnet.ibm.com> Cc: stable@vger.kernel.org
Diffstat (limited to 'fs/binfmt_som.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud