diff options
author | 2015-12-01 15:14:24 +0000 | |
---|---|---|
committer | 2015-12-01 15:14:24 +0000 | |
commit | 25b67f9cde7e3810e9a41d3b9ef1896b22e383cd (patch) | |
tree | b4bf78d1640f6316f1fc0112007af778ae26404d /lib/libc/sys | |
parent | modify getpw*(), getgr*(), and getgrouplist() functions to access the (diff) | |
download | wireguard-openbsd-25b67f9cde7e3810e9a41d3b9ef1896b22e383cd.tar.xz wireguard-openbsd-25b67f9cde7e3810e9a41d3b9ef1896b22e383cd.zip |
Document that "tty" provides read-write access to /dev/tty too.
OK deraadt@
Diffstat (limited to 'lib/libc/sys')
-rw-r--r-- | lib/libc/sys/pledge.2 | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/lib/libc/sys/pledge.2 b/lib/libc/sys/pledge.2 index f9a68e313d1..7ed16e63a63 100644 --- a/lib/libc/sys/pledge.2 +++ b/lib/libc/sys/pledge.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: pledge.2,v 1.17 2015/11/29 01:15:48 benno Exp $ +.\" $OpenBSD: pledge.2,v 1.18 2015/12/01 15:14:24 millert 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: November 29 2015 $ +.Dd $Mdocdate: December 1 2015 $ .Dt PLEDGE 2 .Os .Sh NAME @@ -391,9 +391,14 @@ and are allowed. A few other operations are allowed, but not listed here. .It Va "tty" -This opens up a variety of +In addition to allowing read-write operations on +.Pa /dev/tty , +this opens up a variety of .Xr ioctl 2 -used by tty devices: +requests used by tty devices. +The following +.Xr ioctl 2 +requests are permitted: .Dv TIOCSPGRP , .Dv TIOCGETA , .Dv TIOCGPGRP , |