]> git.karo-electronics.de Git - karo-tx-linux.git/commit
vt: use copy_from/to_user instead of __get/put_user for scrnmap ioctls
authorAdam Borowski <kilobyte@angband.pl>
Sat, 3 Jun 2017 07:35:05 +0000 (09:35 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 9 Jun 2017 09:07:36 +0000 (11:07 +0200)
commitcc1e66f92bf52abfcb55bbb8d6f48fa7a922b7ce
tree40f3b10b16219afe6e5b5f2f420f3988e979c9fd
parent3c2993b8c6143d8a5793746a54eba8f86f95240f
vt: use copy_from/to_user instead of __get/put_user for scrnmap ioctls

Linus wants to get rid of these functions, and these uses are especially
egregious: they copy a big linear array element by element.

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