From: Weng Meiling
When we use lxc-ps to show the process, it's more appropriate to
show process when container is frozen.
Signed-off-by: Weng Meiling
---
src/lxc/lxc-ps.in |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/lxc/lxc-ps.in b/src/lxc/lxc-ps.in
From: Weng Meiling
Signed-off-by: Weng Meiling
---
src/lxc/lxc_create.c |3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/src/lxc/lxc_create.c b/src/lxc/lxc_create.c
index c9231ef..41efeaf 100644
--- a/src/lxc/lxc_create.c
+++ b/src/lxc/lxc_create.c
@@ -115,7 +115,8
On 2013/6/5 1:32, Serge Hallyn wrote:
> Quoting Weng Meiling (wengmeiling.w...@huawei.com):
>> When we use arg --lxc to show processes in all containers, no
>> process displays, so fix it.
>>
>> Signed-off-by: Weng Meiling
>> ---
>> src/lxc/lxc-ps.in |
When we use arg --lxc to show processes in all containers, no
process displays, so fix it.
Signed-off-by: Weng Meiling
---
src/lxc/lxc-ps.in | 14 +++---
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/src/lxc/lxc-ps.in b/src/lxc/lxc-ps.in
index 29e8097..7e08a71 100644
when releasing the conf, add free conf->rcfile which is from malloc
Signed-off-by: Weng Meiling
---
src/lxc/conf.c |2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/src/lxc/conf.c b/src/lxc/conf.c
index 6b3f318..01b70f4 100644
--- a/src/lxc/conf.c
+++ b/src/lxc/con
When running lxc-start command with valgrind, it reports a memory leak error.
When lxc-start command fails, the conf which is from malloc has not been
released.
This patch fix the problem.
Signed-off-by: Weng Meiling
---
src/lxc/lxc_start.c | 21 +++--
1 files changed, 11