Hi

A small update to getsockopt(2) to document that SO_REUSEADDR only works
for same uid (or root).

Index: lib/libc/sys/getsockopt.2
===================================================================
RCS file: /cvs/src/lib/libc/sys/getsockopt.2,v
retrieving revision 1.50
diff -u -p -r1.50 getsockopt.2
--- lib/libc/sys/getsockopt.2   13 Jun 2016 21:24:43 -0000      1.50
+++ lib/libc/sys/getsockopt.2   18 Oct 2016 13:06:48 -0000
@@ -179,7 +179,7 @@ enables debugging in the underlying prot
.Dv SO_REUSEADDR
indicates that the rules used in validating addresses supplied in a
.Xr bind 2
-call should allow reuse of local addresses.
+call should allow reuse of local addresses (only by the same user id or
root).
.Dv SO_REUSEPORT
allows completely duplicate bindings by multiple processes if they all
set
.Dv SO_REUSEPORT

Reply via email to