]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/basic/socket-util.c
shared: handle unnamed sockets in socket_address_equal()
authorMichal Schmidt <mschmidt@redhat.com>
Fri, 20 Feb 2015 01:25:16 +0000 (02:25 +0100)
committerMichal Schmidt <mschmidt@redhat.com>
Fri, 20 Feb 2015 02:35:12 +0000 (03:35 +0100)
commit710708a54ccc48e168ad7d4cd401645ef9e2eb14
tree849f7fe4b0f5b8a599d07520ba1101843df946b0
parent02233928a502e46fc125118dba7234ba3e48dc15
shared: handle unnamed sockets in socket_address_equal()

Make sure we don't inspect sun_path of unnamed sockets.
Since we cannot know if two unnamed sockets' adresses refer to the same
socket, just return false.
src/shared/socket-util.c