From 74f04463d8b78ca8e78e351e0bb06cc587d511c7 Mon Sep 17 00:00:00 2001 From: mpi Date: Mon, 8 Jan 2018 12:02:42 +0000 Subject: [PATCH] TIOCUCNTL is now allowed by promise "tty". Reminded by jmc@ --- lib/libc/sys/pledge.2 | 9 +++++---- 1 file 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 .\" @@ -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 -- 2.20.1