Files
linux/drivers/tty
Johan Hovold ebb46274e3 tty: moxa: fix TIOCSSERIAL permission check
commit dc8c843765 upstream.

Changing the port close delay or type are privileged operations so make
sure to return -EPERM if a regular user tries to change them.

Cc: stable@vger.kernel.org
Signed-off-by: Johan Hovold <johan@kernel.org>
Link: https://lore.kernel.org/r/20210407102334.32361-12-johan@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-05-14 09:44:11 +02:00
..
2021-05-11 14:04:17 +02:00
2019-04-16 15:21:34 +02:00
2017-11-28 15:32:33 +01:00
2018-10-13 00:50:32 -04:00
2019-10-04 15:14:20 +02:00
2017-11-08 13:08:12 +01:00
2019-09-04 12:43:44 +02:00
2020-04-29 16:33:17 +02:00
2019-02-12 08:51:33 +01:00
2019-05-14 19:52:51 -07:00
2020-12-11 13:23:28 +01:00
2020-12-11 13:23:28 +01:00
2019-04-16 15:21:34 +02:00