Re: [PATCH V34 18/29] Lock down TIOCSSERIAL

2019-06-22 Thread Kees Cook
On Fri, Jun 21, 2019 at 05:03:47PM -0700, Matthew Garrett wrote: > From: David Howells > > 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 drive

[PATCH V34 18/29] Lock down TIOCSSERIAL

2019-06-21 Thread Matthew Garrett
From: David Howells 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. Rep