Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1762997AbXKUAtY (ORCPT ); Tue, 20 Nov 2007 19:49:24 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1759167AbXKUAtK (ORCPT ); Tue, 20 Nov 2007 19:49:10 -0500 Received: from ebiederm.dsl.xmission.com ([166.70.28.69]:58217 "EHLO ebiederm.dsl.xmission.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758376AbXKUAtH (ORCPT ); Tue, 20 Nov 2007 19:49:07 -0500 From: ebiederm@xmission.com (Eric W. Biederman) To: Roland McGrath Cc: Ingo Molnar , Ulrich Drepper , Guillaume Chazarain , Pavel Emelyanov , "Rafael J. Wysocki" , Pavel Machek , kernel list , netdev Subject: Re: 2.6.24-rc3: find complains about /proc/net References: <4743026B.2020907@openvz.org> <20071120215914.GE24156@elte.hu> <20071120223559.GA6655@elte.hu> <20071120225457.B6E2D26F8BE@magilla.localdomain> <20071120230106.GD24380@elte.hu> <3d8471ca0711201506t6b2b88a0h9484f8a40a1f2e40@mail.gmail.com> <20071120232600.F1D2F26F8BE@magilla.localdomain> <47436E7F.2060901@redhat.com> <20071120234505.GF23667@elte.hu> <20071120235114.0B85226F8BE@magilla.localdomain> Date: Tue, 20 Nov 2007 17:47:32 -0700 In-Reply-To: <20071120235114.0B85226F8BE@magilla.localdomain> (Roland McGrath's message of "Tue, 20 Nov 2007 15:51:14 -0800 (PST)") Message-ID: User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1104 Lines: 24 Roland McGrath writes: >> can you see any danger to providing a /proc/self_task/ link? (or can you >> think of a better name/API/approach) > > That is a poor name to choose given /proc/self/task exists as something > else (just try writing a sentence comparing them and then read it aloud). > Probably /proc/self/task/self is what makes the most sense structurally. > I don't know if it matters to whatever use you are concerned with to have > two more steps in the lookup. Well the only case it could matter is if you aren't allowed to access /proc/ which I think may actually be the current selinux behavior. So if we can't fix /proc/self we need to introduce /proc/task-self at the top level, just to be certain we don't run into weird cases like that. Otherwise /proc/self/task/self sounds like a wonderful suggestion. Eric - 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/