Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757475AbZKSWaU (ORCPT ); Thu, 19 Nov 2009 17:30:20 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1757206AbZKSWaU (ORCPT ); Thu, 19 Nov 2009 17:30:20 -0500 Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]:56931 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753589AbZKSWaS (ORCPT ); Thu, 19 Nov 2009 17:30:18 -0500 Date: Thu, 19 Nov 2009 23:30:18 +0100 From: Pavel Machek To: "Eric W. Biederman" Cc: Jeff Layton , linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org Subject: Re: [PATCH] procfs: make /proc style symlinks behave like "normal" symlinks Message-ID: <20091119223018.GC11212@elf.ucw.cz> References: <1258638251-20034-1-git-send-email-jlayton@redhat.com> <20091119132833.30bc93a4@barsoom.rdu.redhat.com> <20091119143555.7851953f@barsoom.rdu.redhat.com> <20091119213935.GA11212@elf.ucw.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Warning: Reading this can be dangerous to your mental health. User-Agent: Mutt/1.5.20 (2009-06-14) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1100 Lines: 26 Hi! (Sorry, missed Cc's first time). > >> Adding the missing revalidations is fine, but I don't believe that > >> helps to fix Pavel's issue. I'll go back and take a more careful look > >> at the suggestion that Miklos made and see whether it makes sense to > >> implement a new FS_* flag for this, and see what it'll take to fix > >> Pavel's issue. > > > > One posibility would be to make open(/proc/XX/fd/XX) behave like > > dup(). That should solve the NFS problems, too, no? > > Not for bind mounts, and the revalidate in follow_mounts is a bug regardless. Really? So dup() is also broken on nfs? How do bind mounts affect dup()? Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html -- 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/