linux-man.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ioctl_tty.2: Document CAP_SYS_ADMIN requirement for TIOCSTI
@ 2023-09-13 11:06 Günther Noack
  2023-09-13 12:16 ` Samuel Thibault
  0 siblings, 1 reply; 3+ messages in thread
From: Günther Noack @ 2023-09-13 11:06 UTC (permalink / raw)
  To: Alejandro Colomar
  Cc: linux-man, Günther Noack, Samuel Thibault, Kees Cook

Cc: Samuel Thibault <samuel.thibault@ens-lyon.org>
Cc: Kees Cook <keescook@chromium.org>
Signed-off-by: Günther Noack <gnoack@google.com>
---
 man2/ioctl_tty.2 | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/man2/ioctl_tty.2 b/man2/ioctl_tty.2
index 85577f80f..ebad97bcf 100644
--- a/man2/ioctl_tty.2
+++ b/man2/ioctl_tty.2
@@ -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
-- 
2.42.0.283.g2d96d420d3-goog


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-09-13 16:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-13 11:06 [PATCH] ioctl_tty.2: Document CAP_SYS_ADMIN requirement for TIOCSTI Günther Noack
2023-09-13 12:16 ` Samuel Thibault
2023-09-13 16:49   ` Alejandro Colomar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).