Re: [lxc-devel] [PATCH] Expose underlying close_all_fds config value via API

2013-09-21 Thread S . Çağlar Onur
Actually I think there is no reason not to return a result to the caller, I'll send an incremental patch to do that. On Sat, Sep 21, 2013 at 12:47 AM, Serge Hallyn wrote: > Quoting S.Çağlar Onur (cag...@10ur.org): > > Being able to set close_all_fds via API would be usefull for the > > situatio

Re: [lxc-devel] [PATCH] Expose underlying close_all_fds config value via API

2013-09-20 Thread Serge Hallyn
Quoting S.Çağlar Onur (cag...@10ur.org): > Being able to set close_all_fds via API would be usefull for the > situations like running an application (let's say web server) > that controls the lifecycle of the container using the LXC API. > We don't want forked process to inherit parent's resource (

[lxc-devel] [PATCH] Expose underlying close_all_fds config value via API

2013-09-20 Thread S . Çağlar Onur
Being able to set close_all_fds via API would be usefull for the situations like running an application (let's say web server) that controls the lifecycle of the container using the LXC API. We don't want forked process to inherit parent's resource (file, socket, ...) Signed-off-by: S.Çağlar Onur