Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759567AbYFWS3T (ORCPT ); Mon, 23 Jun 2008 14:29:19 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1757489AbYFWS3I (ORCPT ); Mon, 23 Jun 2008 14:29:08 -0400 Received: from palinux.external.hp.com ([192.25.206.14]:46626 "EHLO mail.parisc-linux.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756700AbYFWS3I (ORCPT ); Mon, 23 Jun 2008 14:29:08 -0400 Date: Mon, 23 Jun 2008 12:29:05 -0600 From: Matthew Wilcox To: Miklos Szeredi Cc: viro@ZenIV.linux.org.uk, linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, hch@infradead.org Subject: Re: [patch v3] vfs: fix sys_getcwd for detached mounts Message-ID: <20080623182905.GI4392@parisc-linux.org> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.13 (2006-08-11) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 802 Lines: 20 On Mon, Jun 23, 2008 at 08:25:26PM +0200, Miklos Szeredi wrote: > I tested this one in various situations, and it appears to do what > it's supposed to. > > A somewhat analogous issue is if we have cwd (or fd) outside > current->root. Should we add a prefix for that case as well? Perhaps > a double slash? unreachable: ? -- Intel are signing my paycheques ... these opinions are still mine "Bill, look, we understand that you're interested in selling us this operating system, but compare it to ours. We can't possibly take such a retrograde step." -- 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/