From: Jian Xiao
All the signals (except fatal ones) are redirected to signalfd at lxc_init,
so the LXC_TTY_HANDLERs are redundant. This patch removes them.
Signed-off-by: Jian Xiao
---
src/lxc/start.c |9 -
src/lxc/utils.h | 29 ++---
2 files changed, 2
From: Jian Xiao
This patch is to correct the manipulation of signal masks when
installing signal handlers for lxc-init.
Signed-off-by: Jian Xiao
Signed-off-by: Greg Kurz
---
src/lxc/lxc_init.c | 22 +++---
1 files changed, 19 insertions(+), 3 deletions(-)
diff --git a/src
From: Jian Xiao
Often system admin needs to change /proc/sys/kernel/shmmax and shmall values
to run a job. These values are not inherited by container and needs to be
passed to container when starting the job.
This patch adds "lxc.shmmax" and "lxc.shmall" configuration vari
From: Jian Xiao
Signed-off-by: Jian Xiao
---
src/lxc/conf.c| 123 +
src/lxc/conf.h|2 +
src/lxc/confile.c | 32 ++
3 files changed, 157 insertions(+), 0 deletions(-)
diff --git a/src/lxc/conf.c b/src/lxc/conf.c
From: Jian Xiao
Signed-off-by: Jian Xiao
---
src/lxc/conf.c| 77 +
src/lxc/conf.h|2 +
src/lxc/confile.c | 32 ++
3 files changed, 111 insertions(+), 0 deletions(-)
diff --git a/src/lxc/conf.c b/src/lxc
From: Jian Xiao
Thanks Serge for the comments. Here is version 2.
Often system admin needs to change /proc/sys/kernel/shmmax and shmall values
to run a job. These values are not inherited by container and needs to be
passed to container when starting the job.
This patch adds "lxc.shmmax