From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Serge E. Hallyn" Subject: Re: [v12][PATCH 8/9] Define eclone() syscall Date: Fri, 13 Nov 2009 11:27:36 -0600 Message-ID: <20091113172736.GA24490@us.ibm.com> References: <20091111043440.GA9377@suka> <20091111044509.GH11393@suka> <20091111224049.GI24988@suka> <20091113004356.GA23615@us.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <20091113004356.GA23615-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org Errors-To: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org To: Sukadev Bhattiprolu Cc: Containers , Nathan Lynch List-Id: containers.vger.kernel.org Quoting Sukadev Bhattiprolu (sukadev-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org): > (Trimmed Cc to Containers list). > > Updated patch to ignore ->child_stack_size on architectures that don't > need it. I'm trying to figure out if this is somehow my fault on my s390x system, though it seems like something that would've resulted from the conversion to using last/nr/max args to specify the pid as Eric suggested. But if I pick a pid that is already in use, I get a massive set of oopses from free_pid. Though the oops imply it's free_pid() called as a result of wait4 on the cloned task. So, do you get errors on x86 when you try to eclone() a process with a pid that is in use? i.e. # nsexecwp -z 999 /bin/bash # id $$ 9999 # nsexeccwp -z 999 /bin/bash (oops) -serge