[PATCH 5/6][cr-test][v2]: eclone-5: nr_pids must not exceed nesting level

Serge E. Hallyn serue at us.ibm.com
Tue Feb 9 13:17:05 PST 2010


Quoting Sukadev Bhattiprolu (sukadev at linux.vnet.ibm.com):
> 
> From: Sukadev Bhattiprolu <sukadev at linux.vnet.ibm.com>
> Date: Mon, 1 Feb 2010 18:13:51 -0800
> Subject: [PATCH 5/6] eclone-5: nr_pids must not exceed nesting level
> 
> Verify that eclone() fails if nr_pids exceeds the current nesting level
> of pid namespaces. Also verify that eclone() succeeds in choosing a pid
> for a process in a descendant pid namespace.

This is a bit of a shame - it failed for me at first because I was
running it inside a container.  But there is no way for a task to
know it's own nsdepth right?

So I went ahead and pushed these tests (plus a few changes).

thanks,
-serge


More information about the Containers mailing list