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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Attachment: signature.asc
Description: Digital signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]