diff options
| author | Johan Hovold <[email protected]> | 2021-04-07 12:23:26 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2021-04-07 17:22:07 +0200 |
| commit | 1d31a831cc04f5f942de3e7d91edaa52310d3c99 (patch) | |
| tree | b0c9aab23fdd98313b2ae3f30627c9f2c053c135 /tools/perf/scripts/python | |
| parent | d38be702452137fa82a56ff7cc577d829add1637 (diff) | |
tty: amiserial: fix TIOCSSERIAL permission check
Changing the port closing_wait parameter is a privileged operation.
Add the missing check to TIOCSSERIAL so that -EPERM is returned in case
an unprivileged user tries to change the closing-wait setting.
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')
0 files changed, 0 insertions, 0 deletions