Re: [PATCH] procfs: make /proc style symlinks behave like "normal"symlinks

From: Pavel Machek
Date: Thu Nov 19 2009 - 17:30:34 EST


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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/