Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932304Ab1BXJzj (ORCPT ); Thu, 24 Feb 2011 04:55:39 -0500 Received: from smtp6-g21.free.fr ([212.27.42.6]:56553 "EHLO smtp6-g21.free.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932172Ab1BXJzh (ORCPT ); Thu, 24 Feb 2011 04:55:37 -0500 Message-ID: <4D662B0C.2030509@free.fr> Date: Thu, 24 Feb 2011 10:55:24 +0100 From: Daniel Lezcano User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101208 Thunderbird/3.1.7 MIME-Version: 1.0 To: "Serge E. Hallyn" CC: Andrew Morton , Oleg Nesterov , LSM , James Morris , Kees Cook , containers@lists.linux-foundation.org, kernel list , "Eric W. Biederman" , Alexey Dobriyan , Michael Kerrisk , xemul@parallels.com, dhowells@redhat.com Subject: Re: [PATCH 2/4] userns: let copy_ipcs handle setting ipc_ns->user_ns References: <20110221040156.GA12580@mail.hallyn.com> <20110221040230.GB12580@mail.hallyn.com> <20110224002204.GB27640@mail.hallyn.com> In-Reply-To: <20110224002204.GB27640@mail.hallyn.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 673 Lines: 17 On 02/24/2011 01:22 AM, Serge E. Hallyn wrote: > To do that, we have to pass in the task_struct of the task which > will own the ipc_ns, so we can assign its user_ns. > > Changelog: > Feb 23: As per Oleg comment, just pass in tsk. To get the > ipc_ns from the nsproxy we need to include nsproxy.h > > Signed-off-by: Serge E. Hallyn > --- Acked-by: Daniel Lezcano -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/