diff options
author | Sebastien Marie <semarie@cvs.openbsd.org> | 2016-04-12 18:04:18 +0000 |
---|---|---|
committer | Sebastien Marie <semarie@cvs.openbsd.org> | 2016-04-12 18:04:18 +0000 |
commit | 1467cdacbdcade531e7df0712134fd38d7841557 (patch) | |
tree | ede754690b9931e430bc3b15d3f8e78a680729ce /lib | |
parent | e0fe9bdc5758e8579632f8c49b4a8f6f2493341c (diff) |
documents "mcast" promise
with few nits from and ok schwarze@
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libc/sys/pledge.2 | 17 |
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 |