aboutsummaryrefslogtreecommitdiffstats
path: root/man7/unix.7
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2016-06-20 10:49:52 +0200
committerMichael Kerrisk <mtk.manpages@gmail.com>2016-06-20 14:08:30 +0200
commit9574e8b06142423e3650b17639f73c3d765da7bf (patch)
tree9e828535a0b2638eab1e55c36dcf92f82e1387ec /man7/unix.7
parent89657ef57d75c7c0b21f5df6bd37fe45f2333ba0 (diff)
downloadman-pages-9574e8b06142423e3650b17639f73c3d765da7bf.tar.gz
unix.7: Note that abstract sockets automatically disappear when FDs are closed
Added after I ran across this question: http://unix.stackexchange.com/questions/216784/does-linux-automatically-clean-up-abstract-domain-sockets Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Diffstat (limited to 'man7/unix.7')
-rw-r--r--man7/unix.72
1 files changed, 2 insertions, 0 deletions
diff --git a/man7/unix.7 b/man7/unix.7
index 25e0b0aebb..b0483b67c3 100644
--- a/man7/unix.7
+++ b/man7/unix.7
@@ -159,6 +159,8 @@ the first
.IR "(addrlen \- sizeof(sa_family_t))"
bytes of
.IR sun_path .
+Abstract sockets automatically disappear when all open references
+to the socket are closed.
The abstract socket namespace is a nonportable Linux extension.
.SS Pathname sockets
When binding a socket to a pathname, a few rules should be observed