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

Re: [Xen-devel] [problem in `xl_cmdimpl.c`] Why pid return by fork() in parent process is not the same with pid returned by getpid()?



On Tue, 2012-08-07 at 09:14 +0100, éç wrote:

>         There's a call to dameon in there, which will involve a double
>         fork
>         IIRC.
>         
>         Ian.
>         
> I only to see `libxl_fork` in function create_domain() who invokes
> fork() once, where is the second fork()?

As I said (but misspelt, sorry) There's a call to daemon() there. Have
you read the manpage for that function?

Ian.


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.