diff options
| author | Johan Hovold <[email protected]> | 2021-04-07 12:23:29 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2021-04-07 17:22:07 +0200 |
| commit | dc8c8437658667be9b11ec25c4b5482ed2becdaa (patch) | |
| tree | d26574381e2d997c7c8b8a3a36949ae66322562a /tools/perf/scripts/python | |
| parent | 6e70b73ca5240c0059a1fbf8ccd4276d6cf71956 (diff) | |
tty: moxa: fix TIOCSSERIAL permission check
Changing the port close delay or type are privileged operations so make
sure to return -EPERM if a regular user tries to change them.
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