Lock down TIOCSSERIAL
authorDavid Howells <dhowells@redhat.com>
Wed, 8 Nov 2017 15:11:35 +0000 (15:11 +0000)
committerBen Hutchings <ben@decadent.org.uk>
Thu, 19 Apr 2018 10:13:03 +0000 (11:13 +0100)
commit34c6fb1b64c1299544e5963748a110ad165f9062
treec774664728e73db8f44ed24c77405407dcc631e1
parentd6746db1a3415945ca302d5ca93cf8a7709b5ee0
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>
cc: Jiri Slaby <jslaby@suse.com>

Gbp-Pq: Topic features/all/lockdown
Gbp-Pq: Name 0021-Lock-down-TIOCSSERIAL.patch
drivers/tty/serial/serial_core.c