Files
linux/drivers
Johan Hovold b91cfb2573 tty: mxser: fix TIOCSSERIAL permission check
Changing the port type and closing_wait parameter are privileged
operations so make sure to return -EPERM if a regular user tries to
change them.

Note that the closing_wait parameter would not actually have been
changed but the return value did not indicate that.

Cc: stable@vger.kernel.org
Signed-off-by: Johan Hovold <johan@kernel.org>
Link: https://lore.kernel.org/r/20210407102334.32361-15-johan@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-04-07 17:22:07 +02:00
..
2021-03-10 09:34:06 +01:00
2021-04-05 08:59:21 +02:00
2021-02-22 14:44:39 -08:00
2021-04-05 08:59:21 +02:00
2021-04-05 08:59:21 +02:00
2021-03-10 09:34:06 +01:00
2021-04-05 08:59:21 +02:00
2021-04-05 08:59:21 +02:00
2021-04-05 08:59:21 +02:00
2021-02-09 12:15:07 +01:00