Files
twx-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