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

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

2011-10-11 Thread Matt Helsley
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 of the mask. Signed-off-by: Matt Helsley Should the same mask