From 1e4e3badf3e172eeb064f9a52725e5d61562572a Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Mon, 16 Apr 2012 09:05:00 +1200 Subject: [PATCH] unix.7: Add a detail on autobind feature Reported-by: Tetsuo Handa Signed-off-by: Michael Kerrisk --- man7/unix.7 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/man7/unix.7 b/man7/unix.7 index 4b3e1ee2e..adbfd7961 100644 --- a/man7/unix.7 +++ b/man7/unix.7 @@ -12,7 +12,7 @@ .\" address that can appear in the sockaddr_un structure: pathname, .\" 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 unix, AF_UNIX, AF_LOCAL \- Sockets for local interprocess communication @@ -166,7 +166,10 @@ then the socket is autobound to an abstract address. The address consists of a null byte followed by 5 bytes in the character set .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 The following paragraphs describe domain-specific details and unsupported features of the sockets API for UNIX domain sockets on Linux.