]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
vt: remove VT_RESIZE and VT_RESIZEX from vt_compat_ioctl()
authorNicolas Pitre <npitre@baylibre.com>
Thu, 15 May 2025 15:30:52 +0000 (11:30 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 27 Jun 2025 10:07:17 +0000 (11:07 +0100)
commit31f65a661019e5b405b7e9287634cf7063ee1a39
tree1ff57ba6b5a1b52fb4f51e8cfeacb0be2acaf2f8
parentdfe8224c9c7a43d356eb9f74b06868aa05f90223
vt: remove VT_RESIZE and VT_RESIZEX from vt_compat_ioctl()

[ Upstream commit c4c7ead7b86c1e7f11c64915b7e5bb6d2e242691 ]

They are listed amon those cmd values that "treat 'arg' as an integer"
which is wrong. They should instead fall into the default case. Probably
nobody ever relied on that code since 2009 but still.

Fixes: e92166517e3c ("tty: handle VT specific compat ioctls in vt driver")
Signed-off-by: Nicolas Pitre <npitre@baylibre.com>
Reviewed-by: Jiri Slaby <jirislaby@kernel.org>
Link: https://lore.kernel.org/r/pr214s15-36r8-6732-2pop-159nq85o48r7@syhkavp.arg
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/tty/vt/vt_ioctl.c