summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Pieuchot <mpi@cvs.openbsd.org>2018-01-08 12:02:43 +0000
committerMartin Pieuchot <mpi@cvs.openbsd.org>2018-01-08 12:02:43 +0000
commitab56af77866f42da3127dbf0a7dea99e6c630cfe (patch)
tree1acb233abe5b29f0a17e954593768728c478c5cb
parente72afbd2679e83a8e00bf7d8ddcfd957b588d816 (diff)
TIOCUCNTL is now allowed by promise "tty".
Reminded by jmc@
-rw-r--r--lib/libc/sys/pledge.29
1 files changed, 5 insertions, 4 deletions
diff --git a/lib/libc/sys/pledge.2 b/lib/libc/sys/pledge.2
index 4e939c9d17d..309a46a27e6 100644
--- a/lib/libc/sys/pledge.2
+++ b/lib/libc/sys/pledge.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: pledge.2,v 1.48 2017/12/12 11:11:18 jmc Exp $
+.\" $OpenBSD: pledge.2,v 1.49 2018/01/08 12:02:42 mpi Exp $
.\"
.\" Copyright (c) 2015 Nicholas Marriott <nicm@openbsd.org>
.\"
@@ -14,7 +14,7 @@
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: December 12 2017 $
+.Dd $Mdocdate: January 8 2018 $
.Dt PLEDGE 2
.Os
.Sh NAME
@@ -440,9 +440,10 @@ requests are permitted:
.Dv TIOCSBRK ,
.Dv TIOCCDTR ,
.Dv TIOCSETA ,
-.Dv TIOCSETAW
+.Dv TIOCSETAW ,
+.Dv TIOCSETAF
and
-.Dv TIOCSETAF .
+.Dv TIOCUCNTL .
.Pp
If
.Va tty