[libvirt] [PATCH v2 8/8] rpc: pass listen FD to the daemon being started

Martin Kletzander mkletzan at redhat.com
Wed Jul 23 13:44:39 UTC 2014


On Wed, Jul 23, 2014 at 07:01:06AM -0600, Eric Blake wrote:
>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.
>

Oh, I had the feeling that I saw such scenario somewhere.  And now
that I have v3 of the patches working, I won't be able to get some
kind of abstracting this out of my head.

Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20140723/122ced67/attachment-0001.sig>


More information about the libvir-list mailing list