aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2021-04-07 12:39:15 +0200
committerJohan Hovold <johan@kernel.org>2021-04-08 09:45:58 +0200
commitd370c90dcd64e427a79a093a070117a1571d4cd8 (patch)
tree9bf0f427b6d849d0011043ff21b76fab10a2757c /tools/perf/scripts/python
parentUSB: serial: ti_usb_3410_5052: fix TIOCGSERIAL implementation (diff)
downloadlinux-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