]> git.baikalelectronics.ru Git - kernel.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)
commit72b8439ab489b0b0ffc340e7f9a69c0eb521d5bb
tree40f3b10b16219afe6e5b5f2f420f3988e979c9fd
parente9e02ea9c2ec5186bb77a8d5bc3b7bee407a45bb
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