mirror of https://github.com/mkerrisk/man-pages
unix.7: Add a detail on autobind feature
Reported-by: Tetsuo Handa <penguin-kernel@i-love.sakura.ne.jp> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
486fccf2e7
commit
1e4e3badf3
|
@ -12,7 +12,7 @@
|
||||||
.\" address that can appear in the sockaddr_un structure: pathname,
|
.\" address that can appear in the sockaddr_un structure: pathname,
|
||||||
.\" unnamed, and abstract.
|
.\" unnamed, and abstract.
|
||||||
.\"
|
.\"
|
||||||
.TH UNIX 7 2011-09-15 "Linux" "Linux Programmer's Manual"
|
.TH UNIX 7 2102-04-16 "Linux" "Linux Programmer's Manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
unix, AF_UNIX, AF_LOCAL \- Sockets for local
|
unix, AF_UNIX, AF_LOCAL \- Sockets for local
|
||||||
interprocess communication
|
interprocess communication
|
||||||
|
@ -166,7 +166,10 @@ then the socket is autobound to an abstract address.
|
||||||
The address consists of a null byte
|
The address consists of a null byte
|
||||||
followed by 5 bytes in the character set
|
followed by 5 bytes in the character set
|
||||||
.IR [0-9a-f] .
|
.IR [0-9a-f] .
|
||||||
(Thus, there is a limit of 2^20 autobind addresses.)
|
Thus, there is a limit of 2^20 autobind addresses.
|
||||||
|
(From Linux 2.1.15, when the autobind feature was added,
|
||||||
|
8 bytes were used, and the limit was thus 2^32 autobind addresses.
|
||||||
|
The change to 5 bytes came in Linux 2.3.15.)
|
||||||
.SS Sockets API
|
.SS Sockets API
|
||||||
The following paragraphs describe domain-specific details and
|
The following paragraphs describe domain-specific details and
|
||||||
unsupported features of the sockets API for UNIX domain sockets on Linux.
|
unsupported features of the sockets API for UNIX domain sockets on Linux.
|
||||||
|
|
Loading…
Reference in New Issue