[Devel] Re: [PATCH 01/10] Documentation

2009-04-06 Thread Nauman Rafique
On Sun, Apr 5, 2009 at 8:15 AM, Andrea Righi righi.and...@gmail.com wrote: On 2009-03-12 19:01, Vivek Goyal wrote: On Thu, Mar 12, 2009 at 12:11:46AM -0700, Andrew Morton wrote: On Wed, 11 Mar 2009 21:56:46 -0400 Vivek Goyal vgo...@redhat.com wrote: [snip] Also..  there are so many IO

[Devel] entering a VE

2009-04-06 Thread Marco d'Itri
Can somebody explain the exact roles of setluid() and of the VZCTL_ENV_CREATE ioctl or point me to documentation? I am trying to write a replacement of vzctl enter, but my ultimate goal is to write a PAM module which can be used by cron/ssh/etc running in the HN to switch to the VE context. The

[Devel] Re: [PATCH 01/10] Documentation

2009-04-06 Thread Balbir Singh
* Vivek Goyal vgo...@redhat.com [2009-03-11 21:56:46]: o Documentation for io-controller. Signed-off-by: Vivek Goyal vgo...@redhat.com --- Documentation/block/io-controller.txt | 221 + 1 files changed, 221 insertions(+), 0 deletions(-) create mode

[Devel] [PATCH 1/3] Make cr_may_checkpoint_task() check each namespace individually

2009-04-06 Thread Dan Smith
Cc: or...@cs.columbia.edu Signed-off-by: Dan Smith da...@us.ibm.com --- checkpoint/checkpoint.c | 15 +-- 1 files changed, 13 insertions(+), 2 deletions(-) diff --git a/checkpoint/checkpoint.c b/checkpoint/checkpoint.c index ef35754..c2f0e16 100644 --- a/checkpoint/checkpoint.c +++

[Devel] [PATCH 3/3] Stub implementation of IPC namespace c/r (v3)

2009-04-06 Thread Dan Smith
Changes: - Update to match UTS changes - Change ipc to newipc - Check return value of cr_hbuf_get() Signed-off-by: Dan Smith da...@us.ibm.com --- checkpoint/checkpoint.c| 30 checkpoint/objhash.c |7 + checkpoint/restart.c | 49

[Devel] [PATCH 2/3] c/r: Add UTS support (v7)

2009-04-06 Thread Dan Smith
This patch adds a phase of checkpoint that saves out information about any namespaces the task(s) may have. Do this by tracking the namespace objects of the tasks and making sure that tasks with the same namespace that follow get properly referenced in the checkpoint stream. I tested this with

[Devel] Re: c/r: Add UTS support

2009-04-06 Thread Oren Laadan
Hmm.. I already integrated the previous version to the current dev branch (see branch ckpt-v14-rc3-dev ; there are several changed untested so I didn't release yet, but you can take a look at the three corresponding patches. BTW, in branch v14-rc3-dev of the userspace tool there is a version of

[Devel] Re: c/r: Add UTS support

2009-04-06 Thread Dan Smith
OL Hmm.. I already integrated the previous version to the current dev OL branch (see branch ckpt-v14-rc3-dev ; there are several changed OL untested so I didn't release yet, but you can take a look at the OL three corresponding patches. Okay, I can send a delta against rc3. OL BTW, in branch

[Devel] Re: [PATCH] Remove READ_IMPLIES_EXEC during restart

2009-04-06 Thread Serge E. Hallyn
Quoting Dan Smith (da...@us.ibm.com): On s390, all tasks have READ_IMPLIES_EXEC set in current-personality, which causes the restart process to map things like the stack and heap as executable. During the restart process, remove this bit and restore the original personality afterwards.

[Devel] [PATCH] Remove READ_IMPLIES_EXEC during restart

2009-04-06 Thread Dan Smith
On s390, all tasks have READ_IMPLIES_EXEC set in current-personality, which causes the restart process to map things like the stack and heap as executable. During the restart process, remove this bit and restore the original personality afterwards. This seems a little ugly, but I don't know that

[Devel] [PATCH 1/1] stop rootless containers from messing with host mounts

2009-04-06 Thread Serge E. Hallyn
If a container has no root, lxc still remounts /proc. If the system had marked / as MS_SHARED, as is the case in Fedora 11, then even though the container is in a new mounts namespace, the mount event is propagated back to the host mounts ns, overmounting the host's /proc. After that, ps -ef

[Devel] Containers roadmap?

2009-04-06 Thread Chris R. Jones
One more question for the experts: Is there any roadmap out there for when we can see containers support in kernels for the major distributions (RHEL or SLES in our case)? When will the feature be enabled by default in the linux kernels? (containers options aren't enabled by default in

[Devel] Re: [PATCH 01/10] Documentation

2009-04-06 Thread Nauman Rafique
On Mon, Apr 6, 2009 at 7:35 AM, Balbir Singh bal...@linux.vnet.ibm.com wrote: * Vivek Goyal vgo...@redhat.com [2009-03-11 21:56:46]: o Documentation for io-controller. Signed-off-by: Vivek Goyal vgo...@redhat.com ---  Documentation/block/io-controller.txt |  221

[Devel] Re: Containers roadmap?

2009-04-06 Thread Serge E. Hallyn
Quoting Chris R. Jones (ch...@versecorp.net): One more question for the experts: Is there any roadmap out there for when we can see containers support in kernels for the major distributions (RHEL or SLES in our case)? When will the feature be enabled by default in the linux kernels?

[Devel] Re: [RFC v14-rc2][PATCH 02/29] Checkpoint/restart: initial documentation

2009-04-06 Thread Sukadev Bhattiprolu
Just a nit: Oren Laadan [or...@cs.columbia.edu] wrote: | From 6f5483b085b1fb675a8445c65ddbeb7b38187865 Mon Sep 17 00:00:00 2001 | From: Oren Laadan or...@cs.columbia.edu | Date: Mon, 30 Mar 2009 10:45:53 -0400 | Subject: [PATCH 02/29] Checkpoint/restart: initial documentation | | Covers

[Devel] Re: [RFC v14-rc2][PATCH 05/29] x86 support for checkpoint/restart

2009-04-06 Thread Sukadev Bhattiprolu
Couple of nits: Oren Laadan [or...@cs.columbia.edu] wrote: | From f5dec38baa6a2cc2a88783db3a9afd676821d293 Mon Sep 17 00:00:00 2001 | From: Oren Laadan or...@cs.columbia.edu | Date: Mon, 30 Mar 2009 11:14:32 -0400 | Subject: [PATCH 05/29] x86 support for checkpoint/restart | | Add logic to save

[Devel] Re: [RFC v14-rc2][PATCH 04/29] General infrastructure for checkpoint restart

2009-04-06 Thread Sukadev Bhattiprolu
Minor comment: Oren Laadan [or...@cs.columbia.edu] wrote: | From 26e7a012d3ff04d64a59e629f2427dfa2b49792b Mon Sep 17 00:00:00 2001 | From: Oren Laadan or...@cs.columbia.edu | Date: Mon, 30 Mar 2009 11:14:06 -0400 | Subject: [PATCH 04/29] General infrastructure for checkpoint restart | | Add

[Devel] Re: [RFC v14-rc2][PATCH 06/29] Dump memory address space

2009-04-06 Thread Sukadev Bhattiprolu
One comment below. Oren Laadan [or...@cs.columbia.edu] wrote: | From eed3f074ed035c93eb49d05cc1491ee680956906 Mon Sep 17 00:00:00 2001 | From: Oren Laadan or...@cs.columbia.edu | Date: Mon, 30 Mar 2009 13:57:11 -0400 | Subject: [PATCH 06/29] Dump memory address space | | For each VMA, there is

[Devel] Re: [RFC v14-rc2][PATCH 09/29] Dump open file descriptors

2009-04-06 Thread Sukadev Bhattiprolu
A few minor comments. Oren Laadan [or...@cs.columbia.edu] wrote: | From 6f0a1dc1db8fdac766b00f90e04e06a5827af459 Mon Sep 17 00:00:00 2001 | From: Oren Laadan or...@cs.columbia.edu | Date: Mon, 30 Mar 2009 13:59:34 -0400 | Subject: [PATCH 09/29] Dump open file descriptors | | Dump the

[Devel] Re: [RFC v14-rc2][PATCH 10/29] actually use f_op in checkpoint code

2009-04-06 Thread Sukadev Bhattiprolu
A minor comment and a nit. Oren Laadan [or...@cs.columbia.edu] wrote: | From d832bfba9a50789fbfadf8486fbdfbd8b498a9ea Mon Sep 17 00:00:00 2001 | From: Dave Hansen d...@linux.vnet.ibm.com | Date: Fri, 27 Mar 2009 12:50:47 -0700 | Subject: [PATCH 10/29] actually use f_op in checkpoint code | | |

[Devel] Re: [RFC v14-rc2][PATCH 12/29] Restore open file descriptors

2009-04-06 Thread Sukadev Bhattiprolu
Minor comment. Oren Laadan [or...@cs.columbia.edu] wrote: | From 7bb32901eb8cefba38bd06bea8a1630ac0dd5051 Mon Sep 17 00:00:00 2001 | From: Oren Laadan or...@cs.columbia.edu | Date: Mon, 30 Mar 2009 15:05:55 -0400 | Subject: [PATCH 12/29] Restore open file descriptors | | Restore open file

[Devel] Re: [RFC v14-rc2][PATCH 13/29] External checkpoint of a task other than ourself

2009-04-06 Thread Sukadev Bhattiprolu
Minor comment. Oren Laadan [or...@cs.columbia.edu] wrote: | From 0fd2795c29fec51eec75f76ea21394367b6801db Mon Sep 17 00:00:00 2001 | From: Oren Laadan or...@cs.columbia.edu | Date: Tue, 21 Oct 2008 16:26:10 -0400 | Subject: [PATCH 13/29] External checkpoint of a task other than ourself | | Now

[Devel] Re: [RFC v14-rc2][PATCH 14/29] Checkpoint multiple processes

2009-04-06 Thread Sukadev Bhattiprolu
Oren Laadan [or...@cs.columbia.edu] wrote: | From ee2f3b5c8548136229cc2f41c5271b0a81ab8a4d Mon Sep 17 00:00:00 2001 | From: Oren Laadan or...@cs.columbia.edu | Date: Mon, 30 Mar 2009 15:06:13 -0400 | Subject: [PATCH 14/29] Checkpoint multiple processes | | Checkpointing of multiple processes

[Devel] Re: [RFC v14-rc2][PATCH 15/29] Restart multiple processes

2009-04-06 Thread Sukadev Bhattiprolu
Couple of nits and couple of not-so minor comments Oren Laadan [or...@cs.columbia.edu] wrote: | From 7162fef93ee3d9fd30a457dd7b0c7ad0200d5bcb Mon Sep 17 00:00:00 2001 | From: Oren Laadan or...@cs.columbia.edu | Date: Mon, 30 Mar 2009 15:06:13 -0400 | Subject: [PATCH 15/29] Restart multiple

[Devel] Re: [RFC v14-rc2][PATCH 06/29] Dump memory address space

2009-04-06 Thread Oren Laadan
Sukadev Bhattiprolu wrote: One comment below. Thanks .. (and the other reviews as well - I fixed all of them) [...] | +static char * | +cr_fill_fname(struct path *path, struct path *root, char *buf, int *n) | +{ | + struct path tmp = *root; | + char *fname; | + | + BUG_ON(!buf);

[Devel] Re: [RFC v14-rc2][PATCH 14/29] Checkpoint multiple processes

2009-04-06 Thread Oren Laadan
Sukadev Bhattiprolu wrote: Oren Laadan [or...@cs.columbia.edu] wrote: | From ee2f3b5c8548136229cc2f41c5271b0a81ab8a4d Mon Sep 17 00:00:00 2001 | From: Oren Laadan or...@cs.columbia.edu | Date: Mon, 30 Mar 2009 15:06:13 -0400 | Subject: [PATCH 14/29] Checkpoint multiple processes [...] |

[Devel] Re: [RFC v14-rc2][PATCH 15/29] Restart multiple processes

2009-04-06 Thread Oren Laadan
Sukadev Bhattiprolu wrote: Couple of nits and couple of not-so minor comments Oren Laadan [or...@cs.columbia.edu] wrote: | From 7162fef93ee3d9fd30a457dd7b0c7ad0200d5bcb Mon Sep 17 00:00:00 2001 | From: Oren Laadan or...@cs.columbia.edu | Date: Mon, 30 Mar 2009 15:06:13 -0400 | Subject:

[Devel] Re: [RFC v14-rc2][PATCH 10/29] actually use f_op in checkpoint code

2009-04-06 Thread Oren Laadan
Sukadev Bhattiprolu wrote: A minor comment and a nit. Oren Laadan [or...@cs.columbia.edu] wrote: | From d832bfba9a50789fbfadf8486fbdfbd8b498a9ea Mon Sep 17 00:00:00 2001 | From: Dave Hansen d...@linux.vnet.ibm.com | Date: Fri, 27 Mar 2009 12:50:47 -0700 | Subject: [PATCH 10/29] actually

[Devel] [PATCH] devcgroup: skip superfluous checks when found the DEV_ALL elem

2009-04-06 Thread Li Zefan
While walking through the whitelist, if the DEV_ALL item is found, no more check is needed. Signed-off-by: Li Zefan l...@cn.fujitsu.com --- security/device_cgroup.c | 10 ++ 1 files changed, 6 insertions(+), 4 deletions(-) diff --git a/security/device_cgroup.c