On 07/23/2014 03:25 AM, Daniel P. Berrange wrote:
We could however use umask() here if you use a virFork() to start a
single threaded process. Set umask, create the socket, and then exit,
allowing the parent to continue.
Similar to what we already do in virfile.c for virFileAccessibleAs,
virFileOpenAs, and virDirCreate.
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library
http://libvirt.org