On Thu, Feb 24, 2011 at 03:44:08PM +0100, Mike Belopuhov wrote: > Currenlty socket man page mentions long dead netns stack (PF_NS) > when talks about SOCK_SEQPACKET which is only valid for AF_BLUETOOTH > these days. Also it mentions SOCK_RDM that is an unused SysV compat > goo. > I think it make sense to update a reference for SOCK_SEQPACKET and > don't mention SOCK_RDM at all. Ok? I'm fine with removing SOCK_RDM -- it is not explained later in the text. Using AF_BLUETOOTH instead of PF_NS is ok as well.
> Index: lib/libc/sys/socket.2 > =================================================================== > RCS file: /home/cvs/src/lib/libc/sys/socket.2,v > retrieving revision 1.31 > diff -u -p -r1.31 socket.2 > --- lib/libc/sys/socket.2 26 Nov 2008 22:40:21 -0000 1.31 > +++ lib/libc/sys/socket.2 24 Feb 2011 14:40:33 -0000 > @@ -77,7 +77,6 @@ Currently defined types are: > .It SOCK_DGRAM > .It SOCK_RAW > .It SOCK_SEQPACKET > -.It SOCK_RDM > .El > .Pp > A > @@ -98,7 +97,7 @@ of fixed maximum length; a consumer may > an entire packet with each read system call. > This facility is protocol specific, and presently implemented > only for > -.Dv PF_NS . > +.Dv AF_BLUETOOTH . > .Dv SOCK_RAW > sockets provide access to internal network protocols and interfaces, > and are available only to the superuser. > -- :wq Claudio