From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Lezcano Subject: Re: [RFC][PATCH] ns: Syscalls for better namespace sharing control. Date: Wed, 10 Mar 2010 22:16:05 +0100 Message-ID: <4B980C15.9000908@free.fr> References: <4B88E431.6040609@parallels.com> <4B8D28CF.8060304@parallels.com> <20100302211942.GA17816@us.ibm.com> <20100303000743.GA13744@us.ibm.com> <4B8E9370.3050300@parallels.com> <4B9158F5.5040205@parallels.com> <4B926B1B.5070207@free.fr> <4B92C886.9020507@free.fr> <4B952BBE.6070507@free.fr> <4B9556A9.60206@free.fr> <4B95611C.5060403@free.fr> <4B956852.7050804@free.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Pavel Emelyanov , Sukadev Bhattiprolu , Serge Hallyn , Linux Netdev List , containers@lists.linux-foundation.org, Netfilter Development Mailinglist , Ben Greear To: "Eric W. Biederman" Return-path: Received: from smtp2a.orange.fr ([80.12.242.139]:32705 "EHLO smtp2a.orange.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753422Ab0CJVQK (ORCPT ); Wed, 10 Mar 2010 16:16:10 -0500 In-Reply-To: Sender: netfilter-devel-owner@vger.kernel.org List-ID: Eric W. Biederman wrote: > Daniel Lezcano writes: > [ ... ] > I guess my meaning is I was expecting. > child = fork(); > if (child == 0) { > execve(...); > } > waitpid(child); > > This puts /bin/sh in the container as well. > Eric, at this point I did not fall in any obvious bug and I was able to enter / execute commands directly inside the container. Excellent ! Thanks -- Daniel