aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2021-04-07 12:23:32 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-04-07 17:22:07 +0200
commitb91cfb2573aeb5ab426fc3c35bcfe9e0d2a7ecbc (patch)
treede429538ba2ccfcaf6dcf262356ba186a52d89ec /tools/perf/scripts/python/stackcollapse.py
parenttty: mxser: fix TIOCSSERIAL jiffies conversions (diff)
downloadlinux-b91cfb2573aeb5ab426fc3c35bcfe9e0d2a7ecbc.tar.gz
linux-b91cfb2573aeb5ab426fc3c35bcfe9e0d2a7ecbc.zip
tty: mxser: fix TIOCSSERIAL permission check
Changing the port type and closing_wait parameter are privileged operations so make sure to return -EPERM if a regular user tries to change them. Note that the closing_wait parameter would not actually have been changed but the return value did not indicate that. Cc: stable@vger.kernel.org Signed-off-by: Johan Hovold <johan@kernel.org> Link: https://lore.kernel.org/r/20210407102334.32361-15-johan@kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions