summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2020-07-17 16:23:23 +0000
committerderaadt <deraadt@openbsd.org>2020-07-17 16:23:23 +0000
commit4f4cd96d5e2976217ac72bacf1da577619bedcef (patch)
tree9ffd25685cab61f77149c025c6da8ac015fc1bd6 /lib/libc
parentCopy the right value to fix getsockopt(2) for SO_RTABLE and IPV6_PIPEX (diff)
downloadwireguard-openbsd-4f4cd96d5e2976217ac72bacf1da577619bedcef.tar.xz
wireguard-openbsd-4f4cd96d5e2976217ac72bacf1da577619bedcef.zip
route and wroute were undocumented; ok florian
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/sys/pledge.29
1 files changed, 7 insertions, 2 deletions
diff --git a/lib/libc/sys/pledge.2 b/lib/libc/sys/pledge.2
index 0b3baa5c517..05277604ca5 100644
--- a/lib/libc/sys/pledge.2
+++ b/lib/libc/sys/pledge.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: pledge.2,v 1.58 2020/02/05 10:44:25 ratchov Exp $
+.\" $OpenBSD: pledge.2,v 1.59 2020/07/17 16:23:23 deraadt 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: February 5 2020 $
+.Dd $Mdocdate: July 17 2020 $
.Dt PLEDGE 2
.Os
.Sh NAME
@@ -116,6 +116,7 @@ based upon the requests
.Va inet ,
.Va pf ,
.Va route ,
+.Va wroute ,
.Va tape ,
.Va tty ,
.Va video ,
@@ -532,6 +533,10 @@ device:
.Dv DIOCRSETADDRS ,
.Dv DIOCXBEGIN ,
.Dv DIOCXCOMMIT
+.It Va route
+Allow inspection of the routing table.
+.It Va route
+Allow changes to the routing table.
.It Va audio
Allows a subset of
.Xr ioctl 2