]> git.ipfire.org Git - thirdparty/chrony.git/commit
conf: create directory for Unix domain command socket
authorMiroslav Lichvar <mlichvar@redhat.com>
Tue, 11 Aug 2015 15:41:02 +0000 (17:41 +0200)
committerMiroslav Lichvar <mlichvar@redhat.com>
Wed, 12 Aug 2015 12:45:23 +0000 (14:45 +0200)
commitf1ed08abf020cec229af6d60104d37d5ee288ef6
treeea5f51dfc84fd7192a9d530a97cdef1feaae1835
parent6d42dd860350d0e64a73f774ca60a022c2d43615
conf: create directory for Unix domain command socket

Try to create the directory where will be the Unix domain command socket
bound to allow starting with empty /var/run. Check the permissions and
owner/group in case the directory already existed. It MUST NOT be
accessible by others as permissions on Unix domain sockets are ignored
on some systems (e.g. Solaris).
conf.c
util.c
util.h