[lxc-devel] [PATCH] lxc: introduce lxc_execute()

2011-10-17 Thread Greg Kurz
This patch allows to create application containers with liblxc.so directly. Some code cleanups on the way: - separate ops for lxc_execute() and lxc_start(): the factorisation is wrong here as we may have specific things to do if we're running an application container. It deserves separate ops.

Re: [lxc-devel] [PATCH] [RFC] lxc-init: fix odd signal mask manipulation

2011-10-17 Thread Greg Kurz
On Tue, 2011-10-11 at 16:18 -0700, Matt Helsley wrote: > lxc init modifies a different signal mask in the loop than the one it's > installing with sigaction in the loop. It appears that either these > lines should move outside the loop, or the intent was to clear the > bits of the sa_mask instead o