diff options
author | Günther Noack <gnoack3000@gmail.com> | 2023-08-08 22:11:12 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-08-09 14:12:39 +0200 |
commit | 3f29d9ee323ae5cda59d144d1f8b0b10ea065be0 (patch) | |
tree | db861a440657f48e528178b8590016eef348663b /drivers/tty | |
parent | dfe2aeb226fd5e19b0ee795f4f6ed8bc494c1534 (diff) | |
download | linux-stable-3f29d9ee323ae5cda59d144d1f8b0b10ea065be0.tar.gz linux-stable-3f29d9ee323ae5cda59d144d1f8b0b10ea065be0.tar.bz2 linux-stable-3f29d9ee323ae5cda59d144d1f8b0b10ea065be0.zip |
TIOCSTI: Document CAP_SYS_ADMIN behaviour in Kconfig
Clarifies that the LEGACY_TIOCSTI setting is safe to turn off even
when running BRLTTY, as it was introduced in commit 690c8b804ad2
("TIOCSTI: always enable for CAP_SYS_ADMIN").
Signed-off-by: Günther Noack <gnoack3000@gmail.com>
Reviewed-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Link: https://lore.kernel.org/r/20230808201115.23993-1-gnoack3000@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty')
-rw-r--r-- | drivers/tty/Kconfig | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/tty/Kconfig b/drivers/tty/Kconfig index 341abaed4ce2..069de553127c 100644 --- a/drivers/tty/Kconfig +++ b/drivers/tty/Kconfig @@ -164,6 +164,9 @@ config LEGACY_TIOCSTI userspace depends on this functionality to continue operating normally. + Processes which run with CAP_SYS_ADMIN, such as BRLTTY, can + use TIOCSTI even when this is set to N. + This functionality can be changed at runtime with the dev.tty.legacy_tiocsti sysctl. This configuration option sets the default value of the sysctl. |