]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
UBUNTU: SAUCE: (efi-lockdown) Lock down TIOCSSERIAL
authorDavid Howells <dhowells@redhat.com>
Wed, 7 Dec 2016 10:28:39 +0000 (10:28 +0000)
committerSeth Forshee <seth.forshee@canonical.com>
Tue, 5 Sep 2017 12:34:07 +0000 (07:34 -0500)
commita1d0861062165d8c53b8b3eb4dad710300f633e5
treed43655c68deb13c2bddbabc965aadace538e17a7
parent5f4180a934785badc2c917ff525275c3d111ef88
UBUNTU: SAUCE: (efi-lockdown) Lock down TIOCSSERIAL

Lock down TIOCSSERIAL as that can be used to change the ioport and irq
settings on a serial port.  This only appears to be an issue for the serial
drivers that use the core serial code.  All other drivers seem to either
ignore attempts to change port/irq or give an error.

Reported-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: David Howells <dhowells@redhat.com>
(cherry picked from commit 83bd921f9ac911f2644bdc5abd31dd4d56cfeb4e
 git://git.kernel.org/pub/scm/linux/kernel/git/jwboyer/fedora.git)
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
drivers/tty/serial/serial_core.c