Searched hist:dc8c8437658667be9b11ec25c4b5482ed2becdaa (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/tty/ |
H A D | moxa.c | diff dc8c8437658667be9b11ec25c4b5482ed2becdaa Wed Apr 07 05:23:29 CDT 2021 Johan Hovold <johan@kernel.org> tty: moxa: fix TIOCSSERIAL permission check
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>
|