chiark / gitweb /
copy: also copy AF_UNIX sockets
authorLennart Poettering <lennart@poettering.net>
Fri, 29 Apr 2016 12:21:22 +0000 (14:21 +0200)
committerSven Eden <yamakuzure@gmx.net>
Fri, 16 Jun 2017 08:12:58 +0000 (10:12 +0200)
commit5f7e5870f06e8ffa0603ae971de74e3f3f6344e5
tree1f7f6b47b5c1cfa472b8e833b92340eb4892dcf8
parent04d125031ef309f6a1cae8b7f79f2d08cf144ca2
copy: also copy AF_UNIX sockets

We previously would fail with EOPNOTSUPP when encountering an AF_UNIX socket in
the directory tree to copy. Fix that, and copy them too (even if they are dead
in the result).

Fixes: #2914
src/basic/copy.c