Lock down TIOCSSERIAL
authorDavid Howells <dhowells@redhat.com>
Mon, 18 Feb 2019 12:45:00 +0000 (12:45 +0000)
committerSalvatore Bonaccorso <carnil@debian.org>
Thu, 26 Sep 2019 12:19:06 +0000 (13:19 +0100)
commitf2e3da153fb01398561a33d0046e9625576a75aa
tree49bd26ae57207261a293d6ccd24866576ba84960
parentb4cf4a04b81d637ad8b6fb8e7d5d0eb2676da520
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 0020-Lock-down-TIOCSSERIAL.patch
drivers/tty/serial/serial_core.c