Hi,
The first part is some tinkering to make lxc compile under Debian Lenny.
The "dangerous" part is the signal forwarding and the process group
business I was playing with recently. It contains Greg's idea about
setting the foreground process group and also inverts the signal
selection logic.
Hi,
The first part is some tinkering to make lxc compile under Debian Lenny.
The "dangerous" part is the signal forwarding and the process group
business I was playing with recently. It contains Greg's idea about
setting the foreground process group and also inverts the signal
selection logic.
Signed-off-by: Ferenc Wagner
---
src/lxc/start.c | 17 +
1 files changed, 17 insertions(+), 0 deletions(-)
diff --git a/src/lxc/start.c b/src/lxc/start.c
index b69ac88..851d383 100644
--- a/src/lxc/start.c
+++ b/src/lxc/start.c
@@ -463,6 +463,7 @@ int lxc_spawn(struct lxc_hand
Signed-off-by: Ferenc Wagner
---
src/lxc/start.c |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/src/lxc/start.c b/src/lxc/start.c
index 2d45396..b69ac88 100644
--- a/src/lxc/start.c
+++ b/src/lxc/start.c
@@ -49,6 +49,7 @@
# include
#else
/* assume kernel headers ar
Signed-off-by: Ferenc Wagner
---
.gitignore |3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/.gitignore b/.gitignore
index 83979f9..ce56094 100644
--- a/.gitignore
+++ b/.gitignore
@@ -25,10 +25,12 @@ lxc.spec
lxc.pc
scripts/lxc-debian
+scripts/lxc-ubuntu
scripts/l
Signed-off-by: Ferenc Wagner
---
src/lxc/conf.c |4
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/src/lxc/conf.c b/src/lxc/conf.c
index 3d550a7..9565d91 100644
--- a/src/lxc/conf.c
+++ b/src/lxc/conf.c
@@ -170,8 +170,12 @@ static struct caps_opt caps_opt[] = {
{
Signed-off-by: Ferenc Wagner
---
src/lxc/start.c | 10 +-
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/src/lxc/start.c b/src/lxc/start.c
index b8ccd31..23f148e 100644
--- a/src/lxc/start.c
+++ b/src/lxc/start.c
@@ -187,7 +187,7 @@ int lxc_check_inherited(int fd_to_ign
Signed-off-by: Ferenc Wagner
---
src/lxc/start.c | 22 ++
1 files changed, 14 insertions(+), 8 deletions(-)
diff --git a/src/lxc/start.c b/src/lxc/start.c
index ee79892..b8ccd31 100644
--- a/src/lxc/start.c
+++ b/src/lxc/start.c
@@ -192,13 +192,13 @@ static int setup_sigch
Signed-off-by: Ferenc Wagner
---
src/lxc/start.c |9 -
src/lxc/utils.h | 27 ---
2 files changed, 0 insertions(+), 36 deletions(-)
diff --git a/src/lxc/start.c b/src/lxc/start.c
index 851d383..ee79892 100644
--- a/src/lxc/start.c
+++ b/src/lxc/start.c
@@ -1