[lxc-devel] [PATCH] lxc_user_nic: remove duplicate code

2013-11-07 Thread Qiang Huang
It's a duplicate of util.h. Signed-off-by: Qiang Huang --- src/lxc/lxc_user_nic.c | 20 1 file changed, 20 deletions(-) diff --git a/src/lxc/lxc_user_nic.c b/src/lxc/lxc_user_nic.c index dc35e55..e4f59fa 100644 --- a/src/lxc/lxc_user_nic.c +++ b/src/lxc/lxc_user_nic.c @@ -4

[lxc-devel] [PATCH 1/1] api_start: refuse to run undaemonized if multithreaded

2013-11-07 Thread Serge Hallyn
lxc-start is not safe (and doesn't actually make sense) if the task is nto single-threaded. Signed-off-by: Serge Hallyn --- src/lxc/lxccontainer.c | 37 + 1 file changed, 37 insertions(+) diff --git a/src/lxc/lxccontainer.c b/src/lxc/lxccontainer.c index 05e5

Re: [lxc-devel] [PATCH] lxc_user_nic: remove duplicate code

2013-11-07 Thread Serge Hallyn
Quoting Qiang Huang (h.huangqi...@huawei.com): > It's a duplicate of util.h. > > Signed-off-by: Qiang Huang Acked-by: Serge E. Hallyn Yup, thanks. Stéphane had already mentioned it. I had put the setns bit in there while trying to figure out why SYS_setns was coming up undefined, and failed

[lxc-devel] [lxc/lxc] 94d942: lxc_user_nic: remove duplicate code

2013-11-07 Thread GitHub
Branch: refs/heads/master Home: https://github.com/lxc/lxc Commit: 94d942c3d22a3b8b0d97d990fc41219369addd45 https://github.com/lxc/lxc/commit/94d942c3d22a3b8b0d97d990fc41219369addd45 Author: Qiang Huang Date: 2013-11-07 (Thu, 07 Nov 2013) Changed paths: M src/lxc/lxc_use