diff options
author | Peter Oberparleiter <oberpar@linux.vnet.ibm.com> | 2017-02-20 13:52:58 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-03-15 02:02:41 (GMT) |
commit | dc31841fcdce435ed88f87489f9ab09b48b43505 (patch) | |
tree | 3fba73d0b3527307ab5ea7fbd9c2dd4ed4eadf78 /drivers/s390/char/ctrlchar.h | |
parent | 91cfcaa6ed46e41c8b44ee09754988b64e075ef2 (diff) | |
download | linux-dc31841fcdce435ed88f87489f9ab09b48b43505.tar.xz |
s390/chsc: Add exception handler for CHSC instruction
commit 77759137248f34864a8f7a58bbcebfcf1047504a upstream.
Prevent kernel crashes due to unhandled exceptions raised by the CHSC
instruction which may for example be triggered by invalid ioctl data.
Fixes: 64150adf89df ("s390/cio: Introduce generic synchronous CHSC IOCTL")
Signed-off-by: Peter Oberparleiter <oberpar@linux.vnet.ibm.com>
Reviewed-by: Sebastian Ott <sebott@linux.vnet.ibm.com>
Reviewed-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/s390/char/ctrlchar.h')
0 files changed, 0 insertions, 0 deletions