summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2017-06-29 04:10:08 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2017-06-29 04:10:08 +0000
commit32428752d331f4d574431cd34606ef1863bd5f3d (patch)
tree44707c8ac5c59ebd9f817c600d32df89d3bbf7b1 /share
parent42dd3c2b1de6e31400f8961f8202418b763feafa (diff)
Due to risks known for decades, TIOCSTI now performs no action, and simply
returns EIO. The base system has been cleaned of TIOCSTI uses (collaboration between anton and I), and the ports tree appears mostly clean. A few stragglers may be discovered and cleaned up later... In a month or so, we should see if the #define can be removed entirely. ok anton tedu, support from millert
Diffstat (limited to 'share')
-rw-r--r--share/man/man4/tty.49
1 files changed, 4 insertions, 5 deletions
diff --git a/share/man/man4/tty.4 b/share/man/man4/tty.4
index 1a03c2a7812..d7174600c0a 100644
--- a/share/man/man4/tty.4
+++ b/share/man/man4/tty.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: tty.4,v 1.47 2016/11/26 11:18:43 mpi Exp $
+.\" $OpenBSD: tty.4,v 1.48 2017/06/29 04:10:07 deraadt Exp $
.\" $NetBSD: tty.4,v 1.4 1996/03/19 04:26:01 paulus Exp $
.\"
.\" Copyright (c) 1991, 1992, 1993
@@ -30,7 +30,7 @@
.\"
.\" @(#)tty.4 8.3 (Berkeley) 4/19/94
.\"
-.Dd $Mdocdate: November 26 2016 $
+.Dd $Mdocdate: June 29 2017 $
.Dt TTY 4
.Os
.Sh NAME
@@ -276,9 +276,8 @@ Place the current number of characters in the output queue in the
integer pointed to by
.Fa num .
.It Dv TIOCSTI Fa char *cp
-Simulate typed input.
-Pretend as if the terminal received the character pointed to by
-.Fa cp .
+Performs no action and returns
+.Er EIO .
.It Dv TIOCNOTTY Fa void
This call is obsolete but left for compatibility.
In the past, when a process that didn't have a controlling terminal