summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorsemarie <semarie@openbsd.org>2016-04-12 18:04:17 +0000
committersemarie <semarie@openbsd.org>2016-04-12 18:04:17 +0000
commit7e3c1a0b55173bfb7d2c9791be63fa929442fbb2 (patch)
tree777dfb1acf6ff96688e606931623f2fe931fe414 /lib/libc
parentThe -T flag consumes the same data as the -f flag so it requires (diff)
downloadwireguard-openbsd-7e3c1a0b55173bfb7d2c9791be63fa929442fbb2.tar.xz
wireguard-openbsd-7e3c1a0b55173bfb7d2c9791be63fa929442fbb2.zip
documents "mcast" promise
with few nits from and ok schwarze@
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/sys/pledge.217
1 files changed, 16 insertions, 1 deletions
diff --git a/lib/libc/sys/pledge.2 b/lib/libc/sys/pledge.2
index 5500ceaea7b..e684a3b6ec9 100644
--- a/lib/libc/sys/pledge.2
+++ b/lib/libc/sys/pledge.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: pledge.2,v 1.29 2016/04/12 12:47:46 semarie Exp $
+.\" $OpenBSD: pledge.2,v 1.30 2016/04/12 18:04:17 semarie Exp $
.\"
.\" Copyright (c) 2015 Nicholas Marriott <nicm@openbsd.org>
.\"
@@ -297,6 +297,21 @@ domains:
.Pp
.Xr setsockopt 2
has been reduced in functionality substantially.
+.It Va "mcast"
+Allows to configure an interface from which multicast packets will
+be sent and to join or leave a multicast group.
+The following options of
+.Xr getsockopt 2
+and
+.Xr setsockopt 2
+are permitted:
+.Pp
+.Dv IP_MULTICAST_IF ,
+.Dv IP_ADD_MEMBERSHIP ,
+.Dv IP_DROP_MEMBERSHIP ,
+.Dv IPV6_MULTICAST_IF ,
+.Dv IPV6_JOIN_GROUP ,
+.Dv IPV6_LEAVE_GROUP .
.It Va "fattr"
The following system calls are allowed to make explicit changes
to fields in