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>
This commit is contained in:
parent
b06e8b97a9
commit
cf1b88ff74
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=88984
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user