aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorJohan Hovold <[email protected]>2021-04-07 12:23:32 +0200
committerGreg Kroah-Hartman <[email protected]>2021-04-07 17:22:07 +0200
commitb91cfb2573aeb5ab426fc3c35bcfe9e0d2a7ecbc (patch)
treede429538ba2ccfcaf6dcf262356ba186a52d89ec /tools/perf/scripts/python/flamegraph.py
parentbe6cf583d24dfe87324dd2830d90fc056e0a6648 (diff)
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: [email protected] Signed-off-by: Johan Hovold <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions