]> Git Repo - linux.git/commit
TIOCSTI: always enable for CAP_SYS_ADMIN
authorSamuel Thibault <[email protected]>
Mon, 10 Jul 2023 00:26:45 +0000 (02:26 +0200)
committerGreg Kroah-Hartman <[email protected]>
Thu, 20 Jul 2023 17:21:16 +0000 (19:21 +0200)
commit690c8b804ad2eafbd35da5d3c95ad325ca7d5061
tree8c6cec078caf83d111474b36550e9812d493e6c4
parentfdf0eaf11452d72945af31804e2a1048ee1b574c
TIOCSTI: always enable for CAP_SYS_ADMIN

83efeeeb3d04 ("tty: Allow TIOCSTI to be disabled") broke BRLTTY's
ability to simulate keypresses on the console, thus effectively breaking
braille keyboards of blind users.

This restores the TIOCSTI feature for CAP_SYS_ADMIN processes, which
BRLTTY is, thus fixing braille keyboards without re-opening the security
issue.

Signed-off-by: Samuel Thibault <[email protected]>
Acked-by: Kees Cook <[email protected]>
Fixes: 83efeeeb3d04 ("tty: Allow TIOCSTI to be disabled")
Cc: [email protected]
Reported-by: Nicolas Pitre <[email protected]>
Link: https://lore.kernel.org/r/20230710002645.v565c7xq5iddruse@begin
Acked-by: Jiri Slaby <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
drivers/tty/tty_io.c
This page took 0.053979 seconds and 4 git commands to generate.