vt: use memdup_user in PIO_UNIMAP ioctl
authorAdam Borowski <kilobyte@angband.pl>
Sat, 3 Jun 2017 07:35:08 +0000 (09:35 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 9 Jun 2017 09:07:36 +0000 (11:07 +0200)
commit4f1be1b5d9aaef9c887140de5f2b9c2a989577d8
tree0c3071bc8ac256be53bf35bd9b5c943c48298463
parent915f0a8d2884d05538ae5c06e09f40d364fa2c3f
vt: use memdup_user in PIO_UNIMAP ioctl

Again, a nice linear transfer that simplifies the code.

Signed-off-by: Adam Borowski <kilobyte@angband.pl>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/vt/consolemap.c