android_kernel_motorola_sm6225/drivers/tty/vt
Nicolas Pitre 627f3b9e4d vcs: prevent write access to vcsu devices
commit 0c9acb1af77a3cb8707e43f45b72c95266903cee upstream.

Commit d21b0be246 ("vt: introduce unicode mode for /dev/vcs") guarded
against using devices containing attributes as this is not yet
implemented. It however failed to guard against writes to any devices
as this is also unimplemented.

Reported-by: Or Cohen <orcohen@paloaltonetworks.com>
Signed-off-by: Nicolas Pitre <npitre@baylibre.com>
Cc: <stable@vger.kernel.org> # v4.19+
Cc: Jiri Slaby <jslaby@suse.com>
Fixes: d21b0be246 ("vt: introduce unicode mode for /dev/vcs")
Link: https://lore.kernel.org/r/nycvar.YSQ.7.76.1911051030580.30289@knanqh.ubzr
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-12-13 08:52:51 +01:00
..
.gitignore
consolemap.c
cp437.uni
defkeymap.c_shipped
defkeymap.map
keyboard.c tty: vt: keyboard: reject invalid keycodes 2019-12-13 08:52:43 +01:00
Makefile
selection.c
vc_screen.c vcs: prevent write access to vcsu devices 2019-12-13 08:52:51 +01:00
vt.c vt/fbcon: deinitialize resources in visual_init() after failed memory allocation 2019-06-09 09:17:21 +02:00
vt_ioctl.c