commit | eb3a757e0baa7ef041cc46407e5962bb51c21c4e | [log] [tgz] |
---|---|---|
author | Johan Hovold <johan@kernel.org> | Wed Apr 07 12:39:15 2021 +0200 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Fri May 14 09:49:56 2021 +0200 |
tree | b2942caf4acbe17e583b20ceca6be07b7fbb5a5b | |
parent | 767e8241dd1cb433efff51544487c577642d384c [diff] |
USB: serial: ti_usb_3410_5052: fix TIOCSSERIAL permission check commit d370c90dcd64e427a79a093a070117a1571d4cd8 upstream. Changing the port closing-wait parameter is a privileged operation so make sure to return -EPERM if a regular user tries to change it. Cc: stable@vger.kernel.org Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Johan Hovold <johan@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>