diff options
| author | Johan Hovold <johan@kernel.org> | 2021-04-07 12:23:29 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-04-07 17:22:07 +0200 |
| commit | dc8c8437658667be9b11ec25c4b5482ed2becdaa (patch) | |
| tree | d26574381e2d997c7c8b8a3a36949ae66322562a /tools/perf/scripts/python | |
| parent | tty: moxa: fix TIOCSSERIAL jiffies conversions (diff) | |
| download | linux-dc8c8437658667be9b11ec25c4b5482ed2becdaa.tar.gz linux-dc8c8437658667be9b11ec25c4b5482ed2becdaa.zip | |
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: stable@vger.kernel.org
Signed-off-by: Johan Hovold <johan@kernel.org>
Link: https://lore.kernel.org/r/20210407102334.32361-12-johan@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
