diff options
| author | Johan Hovold <johan@kernel.org> | 2021-04-07 12:39:15 +0200 |
|---|---|---|
| committer | Johan Hovold <johan@kernel.org> | 2021-04-08 09:45:58 +0200 |
| commit | d370c90dcd64e427a79a093a070117a1571d4cd8 (patch) | |
| tree | 9bf0f427b6d849d0011043ff21b76fab10a2757c /tools/perf/scripts/python | |
| parent | USB: serial: ti_usb_3410_5052: fix TIOCGSERIAL implementation (diff) | |
| download | linux-d370c90dcd64e427a79a093a070117a1571d4cd8.tar.gz linux-d370c90dcd64e427a79a093a070117a1571d4cd8.zip | |
USB: serial: ti_usb_3410_5052: fix TIOCSSERIAL permission check
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>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
