[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20091120095129.GD11212@elf.ucw.cz>
Date: Fri, 20 Nov 2009 10:51:29 +0100
From: Pavel Machek <pavel@....cz>
To: Miklos Szeredi <miklos@...redi.hu>
Cc: jlayton@...hat.com, ebiederm@...ssion.com,
linux-kernel@...r.kernel.org, linux-fsdevel@...r.kernel.org
Subject: Re: [PATCH] procfs: make /proc style symlinks behave like "normal"
symlinks
On Fri 2009-11-20 10:31:40, Miklos Szeredi wrote:
> On Thu, 19 Nov 2009, Pavel Machek wrote:
> > > 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.
>
> What is this "Pavel's issue"?
The one we were talking about, see bugtraq.
> > One posibility would be to make open(/proc/XX/fd/XX) behave like
> > dup(). That should solve the NFS problems, too, no?
>
> You mean, reuse the old "struct file" for the new open? Or what?
Aha, dup() results in file position being shared. You are right,
that's not going to fly :-(.
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists