]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/basic/copy.c
copy: also copy AF_UNIX sockets
authorLennart Poettering <lennart@poettering.net>
Fri, 29 Apr 2016 12:21:22 +0000 (14:21 +0200)
committerLennart Poettering <lennart@poettering.net>
Fri, 29 Apr 2016 12:28:03 +0000 (14:28 +0200)
commit0e2b2caccde55ba777b84d667d19541a82c3f3a3
tree52cf8a49ea5ebb4cf474540809ad0f045d4a18cc
parent14e2baa369b120788322e727ecdd249127a13fa1
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
src/test/test-copy.c