vdagentd: change socket name
commitba0bb9e7fd64765b6ee3f2b9f72b35c8527f730a
authorHans de Goede <hdegoede@redhat.com>
Mon, 1 Nov 2010 12:34:02 +0000 (1 13:34 +0100)
committerHans de Goede <hdegoede@redhat.com>
Mon, 1 Nov 2010 12:34:02 +0000 (1 13:34 +0100)
treeed82cc44be90da872b8f80cb75228f1f64159036
parentba324d0f1fdee3e5f24618b4d590011007d417a2
vdagentd: change socket name

Having a Unix Domain Socket directly under /tmp is a really bad idea
(think symlink attacks). The standard solution for this is to create a
subdir under /tmp. But since spice-vdagentd runs as root anyways we might
just as well put it in another much safer place. So now the socket is:
/var/run/spice-vdagentd/spice-vdagent-sock
vdagentd-proto.h