diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2004-04-27 18:51:18 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2004-04-27 18:51:18 +0000 |
commit | 29f6fb26168bfe33e916adcbb5093bce82a431ac (patch) | |
tree | f8864ff689bd01d93ad1f191e6eda13e68ea74fd /lib/libc/sys | |
parent | 58c12815c89a1e9a32401da8bf4ce6fbfbc797bc (diff) |
fd passing works over a socketpair too of course so document this.
Also test it in regress to be pedantic (though the kernel path is
really the same). While there, remove cred-passing code that we
don't support. OK deraadt@,
Diffstat (limited to 'lib/libc/sys')
-rw-r--r-- | lib/libc/sys/recv.2 | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/lib/libc/sys/recv.2 b/lib/libc/sys/recv.2 index c235e292e40..094441d1a14 100644 --- a/lib/libc/sys/recv.2 +++ b/lib/libc/sys/recv.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: recv.2,v 1.29 2004/04/15 19:52:18 jmc Exp $ +.\" $OpenBSD: recv.2,v 1.30 2004/04/27 18:51:17 millert Exp $ .\" $NetBSD: recv.2,v 1.6 1995/02/27 12:36:08 cgd Exp $ .\" .\" Copyright (c) 1983, 1990, 1991, 1993 @@ -195,7 +195,9 @@ call. .Pp Open file descriptors are now passed as ancillary data for .Dv AF_UNIX -domain sockets, with +domain and +.Xr socketpair 2 +sockets, with .Fa cmsg_level set to .Dv SOL_SOCKET @@ -311,7 +313,8 @@ was less than 0 or larger than .Xr poll 2 , .Xr read 2 , .Xr select 2 , -.Xr socket 2 +.Xr socket 2 , +.Xr socketpair 2 .Sh HISTORY The .Fn recv |