summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authordd <dd@FreeBSD.org>2002-01-07 06:10:37 +0000
committerdd <dd@FreeBSD.org>2002-01-07 06:10:37 +0000
commitf726f84460a8384403c87ef4b59ab6789286e3b3 (patch)
treec570eaa6af0d6c0b42009002b844c4484d18040b /lib
parent8cf69c2918303b6cbc7f2010e69296b66ee7f27c (diff)
downloadFreeBSD-src-f726f84460a8384403c87ef4b59ab6789286e3b3.zip
FreeBSD-src-f726f84460a8384403c87ef4b59ab6789286e3b3.tar.gz
Nuke the paragraph that says "One can obtain user connection request
data without confirming the connection by issuing a recvmsg(2) [...]". There's no such code in the kernel. PR: 26861 Submitted by: Richard A Steenbergen <ras@e-gerbil.net>, Tom Rhodes <darklogik@pittgoth.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/sys/accept.217
1 files changed, 0 insertions, 17 deletions
diff --git a/lib/libc/sys/accept.2 b/lib/libc/sys/accept.2
index badb2b1..06b0664 100644
--- a/lib/libc/sys/accept.2
+++ b/lib/libc/sys/accept.2
@@ -115,23 +115,6 @@ request and not implying confirmation.
Confirmation can be implied by a normal read or write on the new
file descriptor, and rejection can be implied by closing the
new socket.
-.Pp
-One can obtain user connection request data without confirming
-the connection by issuing a
-.Xr recvmsg 2
-call with an
-.Fa msg_iovlen
-of 0 and a non-zero
-.Fa msg_controllen ,
-or by issuing a
-.Xr getsockopt 2
-request.
-Similarly, one can provide user connection rejection information
-by issuing a
-.Xr sendmsg 2
-call providing only the control information,
-or by calling
-.Xr setsockopt 2 .
.Sh RETURN VALUES
The call returns \-1 on error. If it succeeds, it returns a non-negative
integer that is a descriptor for the accepted socket.
OpenPOWER on IntegriCloud