]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
ioctl_tty.2: Document CAP_SYS_ADMIN requirement for TIOCSTI
authorGünther Noack <gnoack@google.com>
Wed, 13 Sep 2023 11:06:31 +0000 (13:06 +0200)
committerAlejandro Colomar <alx@kernel.org>
Wed, 13 Sep 2023 16:47:32 +0000 (18:47 +0200)
Cc: Kees Cook <keescook@chromium.org>
Signed-off-by: Günther Noack <gnoack@google.com>
Reviewed-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
man2/ioctl_tty.2

index 85577f80f6d3d7eb2009680f727a8efc7d4c1c51..ebad97bcf048b12733e500be66477666eacf8510 100644 (file)
@@ -334,6 +334,15 @@ Argument:
 .BI "const char\~*" argp
 .IP
 Insert the given byte in the input queue.
+.IP
+Since Linux 6.2,
+.\" commit 690c8b804ad2eafbd35da5d3c95ad325ca7d5061
+.\" commit 83efeeeb3d04b22aaed1df99bc70a48fe9d22c4d
+this operation may require the
+.B CAP_SYS_ADMIN
+capability (if the
+.I dev.tty.legacy_tiocsti
+sysctl variable is set to false).
 .SS Redirecting console output
 .TP
 .B TIOCCONS