Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756078AbYJXSoU (ORCPT ); Fri, 24 Oct 2008 14:44:20 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753776AbYJXSoL (ORCPT ); Fri, 24 Oct 2008 14:44:11 -0400 Received: from mx2.redhat.com ([66.187.237.31]:50599 "EHLO mx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753693AbYJXSoK (ORCPT ); Fri, 24 Oct 2008 14:44:10 -0400 Organization: Red Hat UK Ltd. Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SI4 1TE, United Kingdom. Registered in England and Wales under Company Registration No. 3798903 From: David Howells In-Reply-To: <20081024174838.GA24466@us.ibm.com> References: <20081024174838.GA24466@us.ibm.com> To: "Serge E. Hallyn" Cc: dhowells@redhat.com, Stephen Rothwell , lkml , jmorris@us.ibm.com Subject: Re: [PATCH] User namespaces: set of cleanups (v2) Date: Fri, 24 Oct 2008 19:44:01 +0100 Message-ID: <11290.1224873841@redhat.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 629 Lines: 18 Serge E. Hallyn wrote: > I've just tested with David's plain creds-v3 tree Note the creds-v4 branch is now current. Is it worth me replacing that with a tree that just has a master branch to simplify things? > - struct user_namespace *ns = current->nsproxy->user_ns; > + struct user_namespace *ns = current_user()->user_ns; current_user_ns() perchance? Looks -- 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/