Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751152Ab1BXFI3 (ORCPT ); Thu, 24 Feb 2011 00:08:29 -0500 Received: from smtp1.linux-foundation.org ([140.211.169.13]:42790 "EHLO smtp1.linux-foundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750867Ab1BXFI2 (ORCPT ); Thu, 24 Feb 2011 00:08:28 -0500 Date: Wed, 23 Feb 2011 21:08:08 -0800 From: Andrew Morton To: "Serge E. Hallyn" Cc: 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 9/9] userns: check user namespace for task->file uid equivalence checks Message-Id: <20110223210808.21966b17.akpm@linux-foundation.org> In-Reply-To: <20110224032415.GA5555@mail.hallyn.com> References: <20110217150224.GA26334@mail.hallyn.com> <20110217150406.GI26395@mail.hallyn.com> <20110218155935.66e7782d.akpm@linux-foundation.org> <20110224032415.GA5555@mail.hallyn.com> X-Mailer: Sylpheed 2.7.1 (GTK+ 2.18.9; x86_64-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 980 Lines: 24 On Thu, 24 Feb 2011 03:24:16 +0000 "Serge E. Hallyn" wrote: > Quoting Andrew Morton (akpm@linux-foundation.org): > > On Thu, 17 Feb 2011 15:04:07 +0000 > > "Serge E. Hallyn" wrote: > > > > There's a fairly well adhered to convention that global symbols (and > > often static symbols) have a prefix which identifies the subsystem to > > which they belong. This patchset rather scorns that convention. > > > > Most of these identifiers are pretty obviously from the capability > > subsystem, but still... > > Would 'inode_owner_or_capable' be better and and make sense? > I suppose so. We've totally screwed that pooch in the VFS (grep EXPORT fs/inode.c). But it's never to late to start. -- 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/